Graphic tutorial for building the myeclipse android Environment

Source: Internet
Author: User

1. Basic Environment preparation:
Install JDK 8.6 or later and Eclipse3.3 or later (MyEclipse is also supported). I have installed JDK and MyEclipse.


JDK1.6


My eclipse 8.6


2. Download the Android SDK
Unfortunately, Android.com has been given to the wall by our powerful GFW, but we have to download it from the official website (of course, you can get the SDK from your friends ), so we have ***. Of course, there are many methods. I can't say it here. If you really don't find a method, you can add QQ 276294057 to communicate with me.
Address: http://developer.android.com/sdk/index.html
After the download is successful:


Android SDK File

Decompress the package to a directory:


Decompress the file


Extract directory

Double-click SDK Setup.exe to install the SDK. After the SDK is installed, enter the folder as shown in:


Install SDK


3. Configure the SDK environment variables:
Add the tools directory under the SDK to the path:


Add the tools directory under the SDK to the path

Environment variable:

Environment Variable

After the SDK is complete, the configuration is complete.

4. Install the ADT plug-in for MyEclipse
Choose eclipse help> MyEclipse Configuration Center.

Open the help menu of eclipse

Click the Software tab.


Software labels

Add site after Browser Software


Browser Software

Enter the following in the dialog box: (name retrieved by yourself)


Enter a name in the dialog box and click OK.

Then, the following

Click Add to Profile

Select the target, right-click Add to Profile, and the Software Updates Available on the right will respond,


Software Updates Available

Click Apply 2 changes below to start installation.


Click Apply 2 changes


Start Installation

Click accept the following permission to continue.


Click to accept

Click Update to start installation. The process may be a little slow and wait patiently for him to complete.


Update to start Installation

5. Configure MyEclipse

Click window> preferences.

Click window> preferences.

In the Android option, enter the SDK location and click Apply. The following content appears.


Click Apply.



6. AVD Management
Click window> Android SDK and AVD Manager.


Android SDK and AVD Manager

Then select Available Package
Because compatibility tests are required, it is best to install more versions if conditions permit.
Then, click Install Selected to start installation. This is a long process and may be very long. Haha
After installation. We started to create a virtual machine.

Click new



Create

After the creation is successful, you can start to try


Start, click Start


Start Simulator

Click Start, and then click launch to Start the simulator.

7. Create a Hello World Program
Create an Android Project


Click next


Click finish

Right-click the project and choose Run As> Android Application.

Right-click

You can see the effect:


Set up successfully

Now, you can start to study this Hello Word program. Good luck. Thank you.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.