Skip to content

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

Description

@GcsSloop

错误:升级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 ! (重新构建工程成功)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions