Bourbon
Bourbon copied to clipboard
Could not find com.google.android.support:wearable:1.4.0
When I try to build it with
./gradlew app:assembleDebug
I'm getting
FAILURE: Build failed with an exception.What went wrong: A problem occurred configuring project ':wear-androidTest'. Could not resolve all dependencies for configuration ':wear-androidTest:_debugCompile'. Could not find com.google.android.support:wearable:1.4.0. Searched in the following locations: https://jcenter.bintray.com/com/google/android/support/wearable/1.4.0/wearable-1.4.0.pom https://jcenter.bintray.com/com/google/android/support/wearable/1.4.0/wearable-1.4.0.jar file:/home/fr/sdk/extras/android/m2repository/com/google/android/support/wearable/1.4.0/wearable-1.4.0.pom file:/home/fr/sdk/extras/android/m2repository/com/google/android/support/wearable/1.4.0/wearable-1.4.0.jar file:/home/fr/sdk/extras/google/m2repository/com/google/android/support/wearable/1.4.0/wearable-1.4.0.pom file:/home/fr/sdk/extras/google/m2repository/com/google/android/support/wearable/1.4.0/wearable-1.4.0.jar Required by: Bourbon:wear-androidTest:unspecified Could not find com.google.android.support:wearable:1.4.0. Searched in the following locations: https://jcenter.bintray.com/com/google/android/support/wearable/1.4.0/wearable-1.4.0.pom https://jcenter.bintray.com/com/google/android/support/wearable/1.4.0/wearable-1.4.0.jar file:/home/fr/sdk/extras/android/m2repository/com/google/android/support/wearable/1.4.0/wearable-1.4.0.pom file:/home/fr/sdk/extras/android/m2repository/com/google/android/support/wearable/1.4.0/wearable-1.4.0.jar file:/home/fr/sdk/extras/google/m2repository/com/google/android/support/wearable/1.4.0/wearable-1.4.0.pom file:/home/fr/sdk/extras/google/m2repository/com/google/android/support/wearable/1.4.0/wearable-1.4.0.jar Required by: Bourbon:wear-androidTest:unspecified > Bourbon:wear:unspecified Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED
A way around this is to remove :wear-androidTest from and build the app from within Android Studio.