Could not find play-services-basement.aar
bjtaylor1 opened this issue · 2 comments
I get the following error when trying to compile this:
Could not find play-services-basement.aar (com.google.android.gms:play-services-basement:15.0.1).
Searched in the following locations:
https://jcenter.bintray.com/com/google/android/gms/play-services-basement/15.0.1/play-services-basement-15.0.1.aar
I've found a workaround. According to this answer on stackoverflow you have to change the following block:
allprojects {
repositories {
jcenter()
google()
}
}
with this
allprojects {
repositories {
google()
jcenter()
}
}
in these files:
Application/build.gradle
Shared/build.gradle
Wearable/build.gradle
And also change .setVisibility(Notification.VISIBILITY_PUBLIC)
with .setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
at line 201 of Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/BigTextIntentService.java
This should be fixed in the new migrated version at
https://github.com/android/user-interface-samples
Please reopen there if it is not, and I will take a look. Thanks!