- 1. Basic Environment Preparation:
Install JDK1.6 and MyEclipse 8.6.
- 1. Download the Android SDK
Address: http://developer.android.com/sdk/index.html
Double-click SDK Setup.exe to install the SDK, and after the installation is complete, the folder looks like this:
- 2. Configure the SDK environment variables:
The main is to add the tools directory under the SDK in path:
- 3. Install the ADT plugin for MyEclipse and open Help->myeclipse Configuration Center
Dot software label
Choose browser software behind the add site
Fill in the dialog box: Name yourself
https://dl-ssl.google.com/android/eclipse/
After filling in the name in the dialog box, click OK, and the following will appear on the left
Select Target, right click on Add to Profile, on the right software Updates available will react
Then click on the Apply 2 changes below to start the installation
Click Accept the license below to continue.
Then click Update to start the installation, the process may be a bit slow.
- 4. Configure MyEclipse, click Window->preferences
On the Android option, fill out the SDK location and click Apply to see the following content.
- 5. Management of AVD
Click Window->android SDK and AVD Manager
Then select the Available package, because compatibility testing is required, and if conditions permit, it is best to install more versions. Then, click Install Selected to start the installation. This is another long process, which can be very long. After the installation is ready. We started building a virtual machine
After a successful creation, you can start a test
Start, click Start
Click Start, then click Launch to start the simulator.
- 6. Create a Hello World program to create an Android project
Right click on Project->run as->android application