离子科尔多瓦构建安卓错误在构建



昨天我的应用程序构建成功,但是今天当我看到我的Firebase应用程序时,有一些下载gradle(ppa(,它会给我以下错误:

操作系统:苹果系统

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"的多个库

相关内容

  • 没有找到相关文章

最新更新