Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Ive just installed android studio 1.0 RC2 in a windows 8.1 64bits, but when i try to create a new project it says Error:Could not run build action using Gradle installation 'C:\Program Files\Android\Android Studio1\gradle\gradle-2.2.1'., please help me solve this proplem, im really stuck in this

like image 363
sdelvalle57 Avatar asked Jan 14 '15 19:01

sdelvalle57


People also ask

Do I need to install Gradle for Android studio?

Android Studio comes with a working installation of Gradle, so you don't need to install Gradle separately in that case. In order to create a new build or add a Wrapper to an existing build, you will need to install Gradle according to these instructions.

How do I know which version of Gradle is installed?

In Android Studio, go to File > Project Structure. Then select the "project" tab on the left. Your Gradle version will be displayed here.

What is Gradle folder in Android Studio?

gradle file, located in the root project directory, defines dependencies that apply to all modules in your project. By default, the top-level build file uses the plugins block to define the Gradle dependencies that are common to all modules in the project.


1 Answers

Try this:

1) File -> Invalidate caches / Restart

2) Shutdown Android Studio

3) Remove .gradle folder in the user home directory

4) Restart Android Studio let it download all the Gradle stuff it needs

5) Gradle build success !

6) Rebuild project.... success !

like image 75
Griffin Avatar answered Oct 04 '22 09:10

Griffin