My Gradle Build Fails When I Add Compile 'com.google.android.gms:play-services-wearable:6.5.87'
I am trying to add WearableListenerService to my hand held when I add the dependency compile 'com.google.android.gms:play-services-wearable:6.5.87' I get this error in the gradle b
Solution 1:
Your problem is your are compiling two libraries that are the same:
compile files('libs/google-play-services-0.6.0-sources.jar')
compile'com.google.android.gms:play-services-wearable:6.5.87'
You need to chose one Google Play Services, preferably the Maven Dependency and not the .jar.
Try this:
dependencies {
compile files('libs/crashlytics.jar')// couldn't find maven
compile files('libs/cup-v1.0.0.jar')// couldn't find maven
compile 'com.android.support:support-v4:21.0.3'
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.google.android.gms:play-services-wearable:6.5.87'
}
Post a Comment for "My Gradle Build Fails When I Add Compile 'com.google.android.gms:play-services-wearable:6.5.87'"