昨天我的应用程序构建成功,但是今天当我使用firebase的应用程序时,有一些下载gradle(ppa)它会给我以下错误:
操作系统: IOS
BUILD FAILED
Total time: 11.315 secs
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugResources'.
> Error: more than one library with package name 'com.google.android.gms.license'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: /Applications/MAMP/htdocs/hardik/projects/firebaseChat/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugResources'.
> Error: more than one library with package name 'com.google.android.gms.license'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
[ERROR] An error occurred while running cordova build android (exit code 1).
答案 0 :(得分:0)
在 platform / android / project.properties 文件中更改+到11 +
例如:
dependencies {
compile 'com.google.firebase:firebase-crash:+'
}
到
dependencies {
compile 'com.google.firebase:firebase-crash:11.+'
}
资源:
2。)More than one library with package name 'com.google.android.gms.license'
3。)ionic3: more than one library with package name 'com.google.android.gms.license'