Gradle project sync failed. Please fix your project and try again

https://stackoverflow.com/questions/29808199/error-running-android-gradle-project-sync-failed-please-fix-your-project-and-t

 

  1. Goto File -> Invalidate caches / Restart
  2. Shutdown Android Studio
  3. Rename/remove .gradle folder in the user home directory
  4. Restart Android Studio (It will download gradle metadata and data)
  5. Gradle build succeed
  6. Rebuild project. Done.

 

posted @ 2018-10-23 21:32  野生野鸡码农  阅读(5716)  评论(0编辑  收藏  举报