安装Android Studio后遇bundletool-1.11.0.jar找不到问题求助
解决Android Studio根项目'afsar'配置时找不到bundletool-1.11.0.jar的问题
配置根项目'afsar'时遇到以下错误:
A problem occurred configuring root project 'afsar'. > Could not resolve all files for configuration ':classpath'. > Could not find bundletool-1.11.0.jar (com.android.tools.build:bundletool:1.11.0). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/bundletool/1.11.0/bundletool-1.11.0.jar Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
尝试添加以下仓库配置后问题仍未解决:
maven { url 'https://maven.fabric.io/public' } maven { url 'https://maven.google.com' } jcenter()
曾手动下载bundletool-1.11.0.jar,但不清楚正确的放置路径。最终通过升级到**最新版本的Gradle(8.0-rc-2)和Android Gradle插件(7.4.0-beta04)**解决了该问题。
内容的提问来源于stack exchange,提问作者Reza
相关产品推荐
相关产品推荐

