簡體   English   中英

離子科爾多瓦建立android中的錯誤

[英]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”

2.) 多個庫,包名稱為“ com.google.android.gms.license”

3.) ionic3:多個庫,軟件包名稱為“ com.google.android.gms.license”

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM