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
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.
In Android Studio, go to File > Project Structure. Then select the "project" tab on the left. Your Gradle version will be displayed here.
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.
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 !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With