Gradle Build failed with an exception : java.exe' finished with non-zero exit value 2

前端 未结 3 622
栀梦
栀梦 2021-01-17 03:08

build.gradle file:

android {
    compileSdkVersion 22
    buildToolsVersion \"22.0.1\"

    defaultConfig {
        applicationId \"xxxxx.com.myapp\"
                


        
3条回答
  •  独厮守ぢ
    2021-01-17 03:38

    Try removing the following from your dependencies:

    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile files('libs/libGoogleAnalyticsServices.jar')
    

    If you look here, the Analytics API is already built into Google play services, so the two are conflicting.

提交回复
热议问题