Tutorial details

[TUT] Setting up Android Studio & Gradle [windows 7] | App Code for Sale | Preview

[TUT] Setting up Android Studio & Gradle [windows 7] | Android Tutorial

How to set up Android Studio & Gradle

Overview PAGE TOP

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.

Prerequisites:

  • 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

Download Gradle (currently 1.6)

Download Android Studio (currently 0.1.3)

When you have downloaded Gradle – unzip gradle. I put mine in this folder:

D:\Programs\Gradle\gradle-1.6

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:

1_java_home.png

check JAVA_HOME is on your PATH

2_path.png

adding GRADLE_HOME

3_gradle_home.png

4_path_gradle.png

Now test the gradle installation is on your path, use the command gradle -v

5_gradle_test.png

Next run the Android Studio Installer

6_android_studio.png

Start Android Studio and check for updates (not all weekly updates are made available on the site, only through the updater)

7_check_updates.png

Finally check that Android Studio is pointing to your gradle installations repo folder:

8_check_gradle_directory.png

That’s it, now go create gradle projects!

Reference PAGE TOP

http://blog.blundell-apps.com/setting-up-android-studio-gradle-windows-7/

0 Comments Leave a comment

Please login in order to leave a comment.

Newest first
!

Sign-in to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.