android - Adding Google play service map and location dependencies -


how include both maps , location google play dependencies in android project?this doing-

dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     compile 'com.android.support:recyclerview-v7:22.2.0'     compile 'com.android.support:appcompat-v7:22.2.0'     compile 'com.android.support:design:22.2.0'     compile 'com.android.support:support-v4:22.2.0'     compile 'com.google.maps.android:android-maps-utils:0.3.1'     compile 'com.google.android.gms:play-services-maps:7.5.0'     compile 'com.google.android.gms:play-services-location:7.5.0'     compile 'com.jakewharton:butterknife:6.0.0'     compile 'com.jakewharton.timber:timber:2.5.0'     compile 'com.google.code.gson:gson:2.3'     compile 'com.squareup.picasso:picasso:2.5.2'     compile 'com.squareup.retrofit:retrofit:1.9.0'     compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'     compile 'com.squareup.okhttp:okhttp:2.2.0'     compile 'io.reactivex:rxandroid:0.24.0'     compile('eu.inmite.android.lib:android-validation-komensky:0.9.2') {         exclude module: 'support-v4'     }     compile 'com.squareup:otto:1.3.7'     compile project(':libstreaming')     compile('com.crashlytics.sdk.android:crashlytics:2.4.0@aar') {         transitive = true;     } //    compile('com.github.nkzawa:socket.io-client:0.5.2') { //        exclude group: 'org.json', module: 'json' //    }  }  

and getting- error:execution failed task ':app:processdebugresources'.

error: more 1 library package name 'com.google.android.gms' can temporarily disable error android.enforceuniquepackagename=false however, temporary , enforced in 1.0

play-services-location contains play-services-maps dependency, can remove maps line entirely.

you can use ./gradlew dependencies check dependencies coming - may narrow down libraries including portions of google play services - make sure don't have jar file in libs directory.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -