Install the original of windows version of the android development environment

  • 2020-05-09 19:16:48
  • OfStack

1. Download the required tools:
(1) download JAVA's IDE development tool and Eclipse
Download the latest Windows version of Ecplise For Java EE from the Eclipse official website
(2) download the Java development kit -- Java SE Development Kit (JDK) JDK 6
Download JDK6 from the Sun website and select JDK 6 Update 12
(3) download the Android development kit -- Android SDK
Download the Android development kit for For Windows from Google's official website

2. After downloading the required tools, start the installation
(1) install Ecplise: download the Ecplise(eclipse-jee-ganymede-SR2-win32.zip) and unzip it directly
(2) install JDK6: run the downloaded JSK installation package (jdk-6u12-windows-i586-p.exe) "step 1"
(3) install Android development kit (SDK): download the SDK package (android-sdk-windows-1.1 _r1.zip) and unzip it directly

3. Have Ecplise install the Android development plug-in automatically (ADT-plugin)
(1) start Ecplise.exe in the Ecplise directory after installation (decompression)
(2) click the menu "Help" - > "Software Updates", in the open window switch to the options page "Availabe Software"
(3) click "Add site..." , add the following address: http: / / dl - ssl google. com/android/eclipse/and then click "OK"
(4) for the address just added, click "Install..." Perform the installation of ADT(Android Development Tools).
(5) at this point, Ecplise will automatically download and install ADT from the added address. One moment later, after the installation, it will be prompted to restart Ecplise, and click "OK" to restart Ecplise
Install ADT

4. Configure the Andiord SDK path
After restarting Ecplise, click the menu "Window" - > "Preference" opens the configuration window, select Android on the left, enter the path of Android SDK on the right (the directory extracted from Android SDK downloaded in step 1-(3) just now), and click "OK", thus the environment is configured.
Configure the Android SDK path

5. Test and develop one Android project
(1) click the menu "File" - > New "-" > "Other..." , select "Android" - in the open window > "Android Project", click "Next" to enter the next step
(2) create a random project name, such as "HelloWorld". Please note that you need to enter "com" in Package name to click "Finish" to continue. Create a new Android project

6. After you have completed the project, click "Run" - > "Run", select "Android Application" in the popup window to run the program, then the simulator of Android can be set up to run the test program

7. Complete the test of Android simulator


Related articles: