Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle Error while creating new project with Android Studio

I just installed Google Android Studio which is introduced in Google IO 2013 and going to crate new Android Project with proper dependencies.

But after pressing finish , I got a pop-up where GoogleAndroidStudio downloading Gradle to automate the build. Got error downloading Gradle and want to know how to install/Config Gradle manually , or else another way to use GAS better , please .

enter image description here

like image 950
Tin Aung Lin Avatar asked May 17 '13 08:05

Tin Aung Lin


People also ask

How do I resolve Gradle project Sync failed?

Then open Android Studio and go to File > Settings > Build, Execution and Deployment > Gradle > Use Gradle from > Set the path of the downloaded Gradle. Step 4. Now try syncing the Gradle again and check if the error still persists.

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.


2 Answers

You can install Gradle from the official link: http://www.gradle.org/downloads

And then you set the unpacked zip as Gradle home when you're importing your project

like image 89
edoardotognoni Avatar answered Oct 23 '22 11:10

edoardotognoni


Check your internet connection.that's all.When first time starting the new project, that error occurred for me.

like image 40
Elshan Avatar answered Oct 23 '22 10:10

Elshan