机器人工作室0.8.1:摇篮工程同步失败。基本功能(例如编辑,调试)将无法正常工作 [英] android studio 0.8.1: Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly
本文介绍了机器人工作室0.8.1:摇篮工程同步失败。基本功能(例如编辑,调试)将无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
确定这里是我的问题。
- 删除文件夹的gradle
- 手动下载最新的1.10的gradle和1.12,并使用离线模式定位
- 在其他博客提到的gradle打开包装属性和文件的build.gradle和编辑
- 无效缓存,并重新启动
没有工作,但是当我设置
distributionUrl = HTTP \\://services.gradle.org/distributions/gradle-1.12-all.zip
在包装的gradle属性....它说:摇篮计划同步。我想这是下载gradle这个1.12但只说,他们没有下载摇篮计划同步。一整天<。 / p>
解决方案
我有这个问题,并尝试了许多张贴的解决方案无济于事。最后,其实我只是做了构建 - >清理项目和它的工作
。Ok here's my problem.
- deleting gradle folder
- downloading latest gradle 1.10 and 1.12 manually and locating using offline mode
- open gradle wrapper properties and build.gradle files and editing as mentioned in other blogs
- Invalidate caches and restart
Nothing worked, but when I set
"distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip"
in gradle wrapper properties.... it said: "Gradle project syncing.." and I guess it was downloading gradle 1.12 but it didn't download only said "Gradle project syncing.." for a whole day.
解决方案
I had this issue and tried many of the posted solutions to no avail. In the end, I actually just did build -> Clean Project and it worked.
这篇关于机器人工作室0.8.1:摇篮工程同步失败。基本功能(例如编辑,调试)将无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文