Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle error building in Android Studio #10

Open
mjjohnson opened this issue Dec 14, 2014 · 3 comments
Open

Gradle error building in Android Studio #10

mjjohnson opened this issue Dec 14, 2014 · 3 comments

Comments

@mjjohnson
Copy link

I checked out the productflavors branch (because it was the most up to date) and used Android Studio (1.0.1) to import OpenWatch (using "Open an existing Android Studio project" from the launch screen). When I did so, I got a gradle error:

* What went wrong:
A problem occurred configuring project ':OpenWatch'.
> Configuration with name 'default' not found.

Looking in the Android Studio logs, I found a large stack trace, which I pasted here: http://pastebin.com/j3XWZJDD

Any ideas on what I may have done wrong, or how to fix this error?

@OnlyInAmerica
Copy link
Member

Did you definitely clone with --recursive or otherwise initialize all of the submodules?

@mjjohnson
Copy link
Author

I just tried again to see what would happen, and --recursive gave me a bunch of output about submodules getting checked out correctly. But then it gave me the following errors:

Unable to checkout '37c548417fde106053c096f62b5381036a8461e6' in submodule path 'libraries/ActionBar-PullToRefresh'
Unable to checkout '21b2f5f420ac684ae58c07ef83d7e2c5fc4ddec8' in submodule path 'libraries/ActionBarSherlock'
Unable to checkout '579871558fb01b84ea95e62a3acd3188f686ef41' in submodule path 'libraries/Android-Universal-Image-Loader'
Unable to checkout '563b5b6d94e728c6c3fbeeeb78a6ddb5cdfe482d' in submodule path 'libraries/android-async-http'
Unable to checkout '51967d3a2cd408e21308bba6b8562af8a7b3fb9d' in submodule path 'libraries/facebook-android-sdk'

(the full output is here: http://pastebin.com/fcneSuxQ)

(This is just on the master brach by default; I don't know if that makes a difference here.)

@mjjohnson mjjohnson reopened this Dec 22, 2014
@xloem
Copy link

xloem commented Apr 6, 2020

This worked fine for me with git submodule update --init. Future error report should paste the whole run of git, rather than an excerpt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants