Android Development Environment Building

Source: Internet
Author: User

Download and install the JDK

In fact , the installation of the JRE can be developed, but it should be better to install a JDK.

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

No.2 download adt-bundle for Windows

        Of course, if you are not a Windows operating system, you should download the appropriate version. This is by google android official provided integrated ideeclipseadteclipse android complex issues in the development environment. with adt-bundleandroid application development.

1. official:http://www.android.com

Follow "Developer---Develop--and Tools--Download--Download the SDK ADT Bundle for Windows" in this order Open the page and choose to download the ADT Bundle.

2. Other:http://www.33lc.com/soft/28594.html (for Windows)

Google is launching Android Studio, the future of the development package mature, their own development is also proficient can try to use the next, the learning phase is not recommended.

No.3 Installation Adt-bundle

unzip the downloaded Adt-bundle-windows-xxx-xxx.zip directly to thelocation you need to install. The extracted folders (such as adt-bundle-windows-x86_64-20140321) contain eclipse,SDK,SDK Manager.exe Three objects.

No.4: Installing the Android SDK

Open the SDK Manager.exe in the extracted folder (you can also run Eclipse/eclipse.exe and then open it via Windows--Android SDK Manager).

For Some reason, it is difficult to connect Google's servers in the domestic access to some of the update resources, so the next update may fail, if this happens, please C:\Windows\System32\drivers\etc\ The hosts The following sentence is appended to the end of the file (each update source address may change):

74.125.113.121 developer.android.com

203.208.46.146 dl.google.com

203.208.46.146 dl-ssl.google.com

also open Android SDK Manager---Tools-- Options ... , tick one of the "Force https://...sources to be fetched using http:// ... "option to .

For example, tick the Android version of the target phone that you want to develop, select the check box as needed, and then click Install package to prompt next,accept allow waiting for installation (this is a lengthy process)

    

No.5 Configuring the Android AVD (virtual simulator)

Open Eclipse(eclipse/eclipse.exe), (running the startup Eclipse may look a little different, you can use windows to put some common windows , the toolbar is displayed), and then Open the AVD Manager from Windows->android Virtual Device Manger .

Click on the New button to create your newly created AVD, such as, I made a simple explanation, the parameters you can actually fill in the free, click OK on the line.

    

    You configure this avd will be the default debug actuator for your Android app, and of course you can configure multiple.

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.