机器人工作室0.8.1:摇篮工程同步失败。基本功能(例如编辑,调试)将无法正常工作 [英] android studio 0.8.1: Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly

查看:353
本文介绍了机器人工作室0.8.1:摇篮工程同步失败。基本功能(例如编辑,调试)将无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

确定这里是我的问题。


  1. 删除文件夹的gradle

  2. 手动下载最新的1.10的gradle和1.12,并使用离线模式定位

  3. 在其他博客提到的gradle打开包装属性和文件的build.gradle和编辑

  4. 无效缓存,并重新启动

没有工作,但是当我设置

 distributionUrl = HTTP \\://services.gradle.org/distributions/gradle-1.12-all.zip

在包装的gradle属性....它说:摇篮计划同步。我想这是下载gradle这个1.12但只说,他们没有下载摇篮计划同步。一整天<。 / p>

解决方案

我有这个问题,并尝试了许多张贴的解决方案无济于事。最后,其实我只是做了构建 - >清理项目和它的工作

Ok here's my problem.

  1. deleting gradle folder
  2. downloading latest gradle 1.10 and 1.12 manually and locating using offline mode
  3. open gradle wrapper properties and build.gradle files and editing as mentioned in other blogs
  4. 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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆