I'm Alex, I've worked on Android since 2012. With my passion, i would like to share some experiences with you, hope it help you somehow :)
Let start with some basic...
To develop Android Application, you need following items:
1. Android Studio
2. Gradle
3. JDK
4. Config environment variables
1. Install Android Studio.
Download Lastest Android Studio
After downloading, each install package includes lastest android sdk, with installed necessary components
2. Install Gradle
Android Studio is using gradle to config the build process, very useful for multiple apk version, for different device resolutions,
Download standalone gradle will help you faster your build process while offline.
In my opinion, you should use gradle-2.10. Go to the link below and look for version 2.10 at the bottom right of download page.
Download Gradle
After download, unzip it to specific folder.
3. Install JDK - Java SE Development Kit
Download JDK
4. Config environment variables
Right click to My Computer and choose Properties > Advanced System Settings > Environment variables... >
In system variables sections, we add some variables by choose New...
Name: ANDROID_HOME
Value: address to where you install Android SDK like "E:\DevEnvironment\AndroidSDK"
Name: GRADLE_HOME
Value: address to where you install Android SDK like "E:\DevEnvironment\Gradle210
Name: JAVA_HOME
Value: address to where you install JDK like "C:\Program Files\Java\jdk1.7.0_79"
* To take more convenient, take some following steps to run directly some command
Choose Path variable from System variables sections > Edit > add some path to subfolder of installed components
Example:
C:\Program Files\Java\jdk1.7.0_79\bin;
E:\DevEnvironment\AndroidSDK\platform-tools;
E:\DevEnvironment\gradle-2.2.1\bin;
E:\DevEnvironment\AndroidSDK\tools
each path separated by ( ; )
5. Check the result
Start > cmd > type
java -version => if it show you version of installed JDK, it's ok or you haven't install it yet or haven't add path to Bin folder in JDK folder (C:\Program Files\Java\jdk1.7.0_79\bin)
gradle -version
adb
If all are ok, you've done it ! Ready to start develop Android Application !
If you have any question, please leave your comments below :) Don't be hesitate to contact me
vuongxuanhong@gmail.com
Emoticon Emoticon