android studio 0.8.1: Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly

偶尔善良 提交于 2020-01-06 01:35:28

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/24531672/android-studio-0-8-1-gradle-project-sync-failed-basic-functionality-e-g-edit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!