Android Studio 编译出错错误:Could not execute build using Gradle distribution 怎么处理 谢谢

javamy019 2013-09-10 04:55:04
以下是提示错误:


Gradle:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':Lesson4_Fancy_View:compileDebug'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
...全文
14137 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
u013439635 2015-10-15
  • 打赏
  • 举报
回复
引用 6 楼 javamy019 的回复:
算了,还是用回Eclipse吧。。。。 这个Andorid Studio 太折腾人了
那你后来解决了这个问题了吗
Mr_chen887 2015-02-18
  • 打赏
  • 举报
回复
引用 5 楼 scqlmm 的回复:
还有一种方法 1 解压gradle-1.6-bin之后为文件夹gradle-1.6,将其中的内容拷贝到$(ANDROID_STUDIO)/plugins/gradle 2 将gradle-1.6/lib下的gradle.jar拷贝到$(ANDROID_STUDIO)/lib中 3. 重启Android Studio
按这个方法一搞软件直接崩溃了。
javamy019 2013-09-10
  • 打赏
  • 举报
回复
算了,还是用回Eclipse吧。。。。 这个Andorid Studio 太折腾人了
枫醉秋 2013-09-10
  • 打赏
  • 举报
回复
还有一种方法 1 解压gradle-1.6-bin之后为文件夹gradle-1.6,将其中的内容拷贝到$(ANDROID_STUDIO)/plugins/gradle 2 将gradle-1.6/lib下的gradle.jar拷贝到$(ANDROID_STUDIO)/lib中 3. 重启Android Studio
枫醉秋 2013-09-10
  • 打赏
  • 举报
回复
引用 3 楼 javamy019 的回复:
我把这个gradle-1.6-bin.zip 放到了D:\Android\android-studio\bin 但还是报这个错
不好意思,是我干脆说错了 http://www.cnblogs.com/timeng/archive/2013/05/17/3084185.html 看看这个
javamy019 2013-09-10
  • 打赏
  • 举报
回复
我把这个gradle-1.6-bin.zip 放到了D:\Android\android-studio\bin 但还是报这个错
枫醉秋 2013-09-10
  • 打赏
  • 举报
回复
刚才打错字了不好意思,直接下载现在gradle-1.6-bin.zip这个包,放到bin目录,就可以了
枫醉秋 2013-09-10
  • 打赏
  • 举报
回复
引用 楼主 javamy019 的回复:
以下是提示错误: Gradle: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':Lesson4_Fancy_View:compileDebug'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
直接自己现在gradle-1.6-bin.zip这个包,放到bin目录,就可以了

80,471

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧