将 TUNE 添加到 android
Adding TUNE to android
我添加了这个依赖:
compile 'com.google.android.gms:play-services-location:7.5.0'
compile 'com.google.android.gms:play-services-ads:+'
但是,在同步时,我收到此消息:
Error:Execution failed for task ':app:processDebugResources'.> Error:
more than one library with package name 'com.google.android.gms'You
can temporarily disable this error with
android.enforceUniquePackageName=falseHowever, this is temporary and
will be enforced in 1.0
Error:Execution failed for task ':app:processDebugResources'.> Error:
more than one library with package name 'com.google.android.gms'You
can temporarily disable this error with
android.enforceUniquePackageName=falseHowever,
起初Post你的总计build.gradle
您只能使用一个。您有 two same type
库。调用其中之一。 两个都不需要 .
compile 'com.google.android.gms:play-services-location:7.5.0' // Use this
compile 'com.google.android.gms:play-services-ads:+'
然后Clean-Rebuild-Restart .
我添加了这个依赖:
compile 'com.google.android.gms:play-services-location:7.5.0'
compile 'com.google.android.gms:play-services-ads:+'
但是,在同步时,我收到此消息:
Error:Execution failed for task ':app:processDebugResources'.> Error: more than one library with package name 'com.google.android.gms'You can temporarily disable this error with android.enforceUniquePackageName=falseHowever, this is temporary and will be enforced in 1.0
Error:Execution failed for task ':app:processDebugResources'.> Error: more than one library with package name 'com.google.android.gms'You can temporarily disable this error with android.enforceUniquePackageName=falseHowever,
起初Post你的总计build.gradle
您只能使用一个。您有 two same type
库。调用其中之一。 两个都不需要 .
compile 'com.google.android.gms:play-services-location:7.5.0' // Use this
compile 'com.google.android.gms:play-services-ads:+'
然后Clean-Rebuild-Restart .