NordicSemiconductor / Android-nRF-Toolbox

The nRF Toolbox is a container app that stores your Nordic Semiconductor apps for Bluetooth Low Energy in one location.
https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Toolbox
BSD 3-Clause "New" or "Revised" License
1.09k stars 464 forks source link

Gradle sync fails due to wearable for China #26

Closed dwyw42 closed 7 years ago

dwyw42 commented 7 years ago

Gradle sync fails with the message: "Failed to resolve: com.google.android.gms:play-services-wearable:7.8.87"

Solution is the top-level build.gradle file is missing the following lines from the allprojects/repositories section (line 17):

maven {
   url "${rootProject.projectDir}/google-play-services-7-8-87"
}

(Taken from https://developer.android.com/training/wearables/apps/creating-app-china.html#ChinaSDK as referenced in the other gradle.build files)

philips77 commented 7 years ago

Ups, it must have excluded itself from the commit... Will fix it tomorrow! Thanks!