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?
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.
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.
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 .
Open Preferences -> Build, Execution, Deployment -> Gradle . Select Use local gradle distribution and specify Gradle home .
If you have installed your gradle with brew then it would be:
/usr/local/Cellar/gradle/<version>/libexec/
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