[英]ionic cordova build android error in build
昨天我的應用程序構建成功,但是今天當我構建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).
在platform / android / project.properties文件中,將+更改為11+
例如:
dependencies {
compile 'com.google.firebase:firebase-crash:+'
}
至
dependencies {
compile 'com.google.firebase:firebase-crash:11.+'
}
資源:
1.) Firebase:Android構建錯誤,錯誤:錯誤:多個庫,包名稱為“ com.google.android.gms.license”
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.