Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle location is incorrect error while importing ActionBarsherlock in Android Studio

I'm also trying to import the ABS in new updated Android Studio. I'm following this tutorial.

but on step Adding Action Bar Sherlock library to Android Studio im getting the error

Gradle Location is incorrect. here is pic.

enter image description here

When I go to the path C:\Users\Sir John Qadir\ there is no any gradle1.6 folder in there. How to resolve this?

like image 331
Qadir Hussain Avatar asked Jul 12 '13 20:07

Qadir Hussain


People also ask

Where is gradle location in Android Studio?

The top-level build.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.

Where is gradle location?

The Gradle plugin (which includes a packaged version of gradle) should already be installed at where/you/installed/android-studio/plugins/gradle, so you shouldn't need to download it manually.

How do I change the gradle path in Android Studio?

In File Explorer right-click on the This PC (or Computer ) icon, then click Properties → Advanced System Settings → Environmental Variables . Under System Variables select Path , then click Edit . Add an entry for C:\Gradle\gradle-7.5. 1\bin .

How do I set the gradle home path?

Open Preferences -> Build, Execution, Deployment -> Gradle . Select Use local gradle distribution and specify Gradle home .


1 Answers

If you have installed your gradle with brew then it would be:

/usr/local/Cellar/gradle/<version>/libexec/ 
like image 170
yusuf Avatar answered Sep 28 '22 03:09

yusuf