Guys, I’ve got an Android packaging error! Who can fix it, please? Thank you!!
FAILURE: Build failed with an exception. UATHelper: 打包 (Android (ASTC)): * What went wrong: UATHelper: 打包 (Android (ASTC)): Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac’. UATHelper: 打包 (Android (ASTC)): > Could not resolve all task dependencies for configuration ‘:app:debugAnnotationProcessorClasspath’. UATHelper: 打包 (Android (ASTC)): > Could not resolve androidx.lifecycle:lifecycle-compiler:2.0.0. UATHelper: 打包 (Android (ASTC)): Required by: UATHelper: 打包 (Android (ASTC)): project :app UATHelper: 打包 (Android (ASTC)): > Could not resolve androidx.lifecycle:lifecycle-compiler:2.0.0. UATHelper: 打包 (Android (ASTC)): > Could not get resource ‘https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-compiler/2.0.0/lifecycle-compiler-2.0.0.pom’. UATHelper: 打包 (Android (ASTC)): > Could not GET ‘https://dl.google.com/dl/android/maven2/androidx/lifecycle/lifecycle-compiler/2.0.0/lifecycle-compiler-2.0.0.pom’. UATHelper: 打包 (Android (ASTC)): > Connect to dl.google.com:443 [dl.google.com/127.0.1.2] failed: Connection refused: connect UATHelper: 打包 (Android (ASTC)): > Could not resolve androidx.lifecycle:lifecycle-compiler:2.0.0. UATHelper: 打包 (Android (ASTC)): > Could not get resource ‘https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-compiler/2.0.0/lifecycle-compiler-2.0.0.pom’. UATHelper: 打包 (Android (ASTC)): > Could not GET ‘https://repo.maven.apache.org/maven2/androidx/lifecycle/lifecycle-compiler/2.0.0/lifecycle-compiler-2.0.0.pom’. UATHelper: 打包 (Android (ASTC)): > Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.1.3] failed: Connection refused: connect UATHelper: 打包 (Android (ASTC)): > Could not resolve androidx.lifecycle:lifecycle-compiler:2.0.0. UATHelper: 打包 (Android (ASTC)): > Could not get resource ‘https://jcenter.bintray.com/androidx/lifecycle/lifecycle-compiler/2.0.0/lifecycle-compiler-2.0.0.pom’. UATHelper: 打包 (Android (ASTC)): > Could not GET ‘https://jcenter.bintray.com/androidx/lifecycle/lifecycle-compiler/2.0.0/lifecycle-compiler-2.0.0.pom’. UATHelper: 打包 (Android (ASTC)): > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/127.0.1.4] failed: Connection refused: connect UATHelper: 打包 (Android (ASTC)): * Try: UATHelper: 打包 (Android (ASTC)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. UATHelper: 打包 (Android (ASTC)): * Get more help at https://help.gradle.org UATHelper: 打包 (Android (ASTC)): BUILD FAILED in 41s
Hello, could you please send this to our team via the bug report form?
Thank you!
如何把仓库换成maven2?
@user_02cc7f204342af00aad67e775024d46fc3fe0601b668c1a2be5d22 Thank you for your report! We would like to look into this further, would you be able to submit a bug report using the form available here? Fortnite Creative