This is a simple walk through of setting up the new Android Studio IDE and Gradle. Gradle is the new build system for all Android projects.
- you have a JDK installed.
- JAVA_HOME is set.
(you can test this by typing
java -version in a console)
warning: This post is very image heavy, so get scrolling
When you have downloaded Gradle – unzip gradle. I put mine in this folder:
Add gradle/bin to path. You want to add Gradle to your path so that you can use it from the command line.
Here is how you create the variables and add them to your path:
check JAVA_HOME is on your PATH
Now test the gradle installation is on your path, use the command
Next run the Android Studio Installer
Start Android Studio and check for updates
(not all weekly updates are made available on the site, only through the updater)
Finally check that Android Studio is pointing to your gradle installations repo folder:
That’s it, now go create gradle projects!