download, install, and configure the JDK environment
JDK official: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Go to JDK selection
After installing Jdk-8u45-windows-x64.exe, set the win7 system environment variable, the system environment variable case is not sensitive
Java_home |
Indicates the installation path of the JDK, the native installation path D:\Program files\java\jdk1.8.0_45, and Bin,lib,jre files are included under this path path. |
PATH |
Path allows the system to identify the JAVA path under any path, set to:%java_home%\jre\bin |
CLASSPATH |
Only classes in Classpath, Java commands can be recognized, set to:.; %java_home%\lib;%java_home%\lib\tools.jar |
After setting up the above environment, enter java-version in CMD and the following message will appear, indicating that the installation was successful:
ii. downloading, installing, and configuring the Android SDK
Android sdk:http://developer.android.com/sdk/index.html
After installing Android-studio-bundle-135.1740770-windows.exe, configure the system environment variable under Win7
Android_home |
Set to: D:\USERS\ADMINISTRATOR\APPDATA\LOCAL\ANDROID\SDK |
PATH |
Set to:%android_home%\tools |
After installing the Android SDK and configuring the system environment variables, after you enter android-h on the cmd command line, the following help message appears, indicating that the Android SDK installation was successful.
third, download eclipse, install ADT, affiliate Android SDK
1), eclipse download version corresponding address: http://www.eclipse.org/downloads/
2), after extracting eclipse-java-indigo-sr2-win32-x86_64, run Eclipse.exe, open Eclipse menu Help--->install new software, select "Add", Enter ADT in name, enter https://dl-ssl.google.com/Android/eclipse/in location, and download and install ADT.
3), associate the Android SDK, open the Eclipse menu window--->preferences--->android, enter the installation path of the Android SDK in the SDK location, click Apply--- >ok.
iv. Download and update the Android SDK version
Open the Eclipse menu window--->android SDK Manager to download the required version of the Android SDK.
Now that the Android development environment has been completed on Win7, if there is a download error, you can purchase a VPN account.
Main references: http://www.cnblogs.com/tangge/p/3702592.html and http://blog.sina.com.cn/s/blog_53ac36a601010v89.html
Android development Environment Build (Win7 64-bit)