AndroidNote icon indicating copy to clipboard operation
AndroidNote copied to clipboard

Error:Could not run build action using Gradle installation 'D:\Program Files\Android\AndroidStudio\gradle\gradle-2.4'.

Open GcsSloop opened this issue 9 years ago • 0 comments

错误:升级AndroidStudio时引起的错误。 解决方案:

  1. File -> Invalidate caches / Restart (清除缓存)
  2. Shutdown Android Studio (关闭AndroidStudio)
  3. Remove .gradle folder in the user home directory (移除工作空间.gradle文件夹)
  4. Restart Android Studio let it download all the Gradle stuff it needs (重启AndroidStudio)
  5. Gradle build success ! (等待gradle构建成功)
  6. Rebuild project.... success ! (重新构建工程成功)

GcsSloop avatar Jan 09 '16 10:01 GcsSloop