Android 构建失败并显示错误:任务 ':app:checkReleaseDuplicateClasses' 执行失败

时间:2021-07-14 04:42:09

标签: android gradle aws-codepipeline aws-codebuild jcenter

React 原生 Android 构建失败并显示以下错误:

注意:构建在我的本地机器上成功,但在使用 AWS Codebuild 的管道上失败

> Task :app:checkReleaseDuplicateClasses FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkReleaseDuplicateClasses'.
> Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
   > Could not download rxjava-1.3.8.jar (io.reactivex:rxjava:1.3.8)
      > Could not get resource 'https://jcenter.bintray.com/io/reactivex/rxjava/1.3.8/rxjava-1.3.8.jar'.
         > Could not GET 'https://jcenter.bintray.com/io/reactivex/rxjava/1.3.8/rxjava-1.3.8.jar'.
            > Connection reset
   > Could not download dagger-library-shadow-1.7.1.jar (com.polidea.rxandroidble:dagger-library-shadow:1.7.1)
      > Could not get resource 'https://jcenter.bintray.com/com/polidea/rxandroidble/dagger-library-shadow/1.7.1/dagger-library-shadow-1.7.1.jar'.
         > Could not GET 'https://jcenter.bintray.com/com/polidea/rxandroidble/dagger-library-shadow/1.7.1/dagger-library-shadow-1.7.1.jar'.
            > Connection reset

0 个答案:

没有答案