You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

安装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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.02 13:15:58