Could not find com.github.xuexiangjys:XUI:1.1.8.
dongweiq opened this issue · comments
可能是jcenter不能用了,请问有没有上传其他仓库
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.github.xuexiangjys:XUI:1.1.8.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/xuexiangjys/XUI/1.1.8/XUI-1.1.8.pom
- https://repo.maven.apache.org/maven2/com/github/xuexiangjys/XUI/1.1.8/XUI-1.1.8.pom
- https://jcenter.bintray.com/com/github/xuexiangjys/XUI/1.1.8/XUI-1.1.8.pom
Required by:
project :app
* Try:
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.
==============================================================================
新版本as需要在 setting.gradle文件中加入
maven { url "https://jitpack.io" }
加入到最外层的build.gradle无效