Android Development Environment built

Source: Internet
Author: User

Download the following three installation packages:

http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/ Jdk-6u11-windows-i586-p.exe? Bundledlineitemuuid=vahibe.mddmaaaee6wfbab.h&orderid=ntxibe.mk1aaaaee3mfbab.h&productid= Dy5ibe.ogakaaaedcjbgb7et&filename=/jdk-6u11-windows-i586-p.exe

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/SR1/ eclipse-jee-ganymede-sr1-win32.zip&url=http://download.actuatechina.com/eclipse/technology/epp/downloads/ release/ganymede/sr1/eclipse-jee-ganymede-sr1-win32.zip&mirror_id=385

Http://dl.google.com/android/android-sdk-windows-1.0_r2.zip

1 Download the JDK and install it, as above.

2 Eclipse Decompression

3 Android Decompression

4 Set the Windows System environment variable path to add the Android tools directory to it. Note: not an Android directory!!!

5 install Android plugin in eclipse: Help/software Updates, add: http://dl-ssl.google.com/android/eclipse/, install

6 Plugin settings, menu window->preferences, select Android, set the Android SDK directory to it.

OK, the development environment is complete!

Next you can build an Android project to test Android.

The process is OK, but the resulting HelloWorld program has an error:

[2010-07-11 17:46:54-helloandroid] No classfiles specified [2010-07-11 17:46:54-helloandroid] Conversion to Dalvik for Mat failed with error 1

The process of setting up the environment was retried several times, but it still has this problem. The reason is unknown!

Finally, the solution is found on the Internet, very simple: project-clear ...

Right -click the HelloWorld project,Run as->Android application. Android Simulator is slow to start, please wait patiently.

Android Development Environment established

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.