Error:Could not run build action using Gradle installation 'C:\Program Files\Android\Android Studio\gradle\gradle'

0

I tried to build my android project in Android Studio and got this error:

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

Please, help.

2 answers

Try this steps:

  • File -> Invalidate caches
  • Restart Shutdown Android Studio
  • Remove .gradle folder in the user home directory
  • Restart Android Studio let download all the Gradle stuff it needs

I hopes it helped you

1

Or you can do this:

  • Download new version of Gradle
  • Extract files to new dir
  • Android Studio -> Settings -> Gradle. Set new path for the Gradle
1

Too many commands? Learning new language?

FavScripts.com is a free tool that allows you to save your favorite scripts and commands, then quickly find and copy-paste your commands with just few clicks.

Boost your daily productivity with FavScripts.com!

Post Answer