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.
When I go to the path C:\Users\Sir John Qadir\
there is no any gradle1.6 folder in there. How to resolve this?
When using homebrew, instead of (as suggested in other answers):
It's better to use:
It's a symlink and will survive
brew upgrade
.Point to the folder
<gradle root folder>/libexec
. Things should start working.If you use brew to install gradle on mac, then use /usr/local/Cellar/gradle/4.0.1/libexec
If you have installed your gradle with brew then it would be:
Try using this path:
For Windows
For UNIX (Debian, Mac etc.)
Create a build.gradle with:
Then run it with:
You should see something like:
You can use that to populate the Gradle plugin, and you’re off.
http://www.rabblemedia.net/blog/setting-up-gradle-plugin-for-intellij/