相关疑难解决方法(0)

错误:包含名称为com.google.android.gms.license的多个库

当我尝试将命令ionic cordova build android输出错误作为上面的标题.然后我尝试删除其中一个gms,当我再次构建删除它再次出现.怎么解决这个?

这是我对我的依赖build.gradle:

dependencies {
    compile fileTree(dir: 'libs', include: '*.jar')
    // SUB-PROJECT DEPENDENCIES START
    debugCompile(project(path: "CordovaLib", configuration: "debug"))
    releaseCompile(project(path: "CordovaLib", configuration: "release"))
    compile "com.google.android.gms:play-services-auth:+" // i remove this
    compile "com.google.android.gms:play-services-identity:+"
    compile "com.facebook.android:facebook-android-sdk:4.+"
    // SUB-PROJECT DEPENDENCIES END
}
Run Code Online (Sandbox Code Playgroud)

android google-play-services ionic3

26
推荐指数
5
解决办法
8145
查看次数

标签 统计

android ×1

google-play-services ×1

ionic3 ×1