Android App Development Notes

Source: Internet
Author: User

Environment Construction

The following software is required on Windows systems:

Android SDK--app development kit, development runtime Environment (including SDK management tools, and virtual device management).

JDK--the Java SDK, which is responsible for compiling and running the app code.

Eclipse-App development integration Environment, develop app code, compile and run debugging on Android SDK.

ADT-Eclipse's Android development tool plug-in to embed the Android SDK into eclipse.

Concrete Construction Steps:

Android Development Environment Building Guide This article takes Windows system as an example to introduce the construction process and considerations of the Android development environment. Step one. Get ready to develop the machine.1. Ensure that the development machine system meets the following requirements: Windows XP (32-bit), Vista (32-or 64-bit), or Windows 7 (32-or 64-bit)2. Install JDK6.0 or later: http://www.oracle.com/technetwork/java/javase/downloads/index.html3. Install Eclipse3.5 or later http://www.eclipse.org/downloads/step two. Download Android sdk:http://developer.android.com/sdk/ Index.html, the latest version is R14, it is recommended to download the ZIP package and unzip it. Assume that the decompression path is D:\ANDROID-SDK. Step three. Install the ADT Plugin Android Development Tools (ADT) is an Eclipse plugin provided by Android. 1. Launch Eclipse, select "Help > Install New software ..." and click the "Add" button in the upper right corner .2. When the dialog box pops up, enter "ADT Plugin" (customizable name) in "name", "https://dl-ssl.google.com/android/eclipse/" in "Location" and click "OK" Note: If the download plugin fails, replace "https" in the Address bar with "http" and try again3. In the "Available Software" box, check the plugin and click "Next" until "Finish" NOTE: If there is "the authenticity or validity of the software can ' t be established "Security Warning, click" OK "4. After the installation is complete, restart eclipse next to configure the ADT plugin, specify the Android SDK path. 1. Select "Window > Preferences" To open the Configuration window for preferences2. Select "Android", if pop-up send "usage statistics" to Google's inquiry box, select and click "Proceed"3. In the main configuration panel, modify "SDK location" as the SDK path "D:\ANDROID-SDK" in step two. Click "Apply" > "OK" step four. Add platform version and Component SDK main body is divided into Android platform versions, add-ons, tools, samples,and documentation and other parts. The SDK downloaded in step two is just the latest SDK tools, and if you're developing an Android app, you'll also need to download the latest Android platform and related platform tools. Choose Window > Android SDK and AVD manager>available packages from the Eclipse menu, select the platform you want to install from the list, and the corresponding tools, Docs, Samples and so on. At this point, the Android development environment has been completed, the first "Hello world!" started Program It! 
Installation Steps

Because the Google domain name was blocked in the country, so that the platform components will fail to increase, "https://dl-ssl.google.com/"

Google provides a pre-installed ADT-Ready Eclipse Package:

Http://dl.google.com/android/adt/adt-bundle-windows-x86-20130917.zip

Hello World Test

XP system 1.99G Memory, start Java Virtual machine start not up, reported insufficient memory, low memory, the interface display, but still start up, or there is a function failed to load the error, indicating that the memory is small, boot can not start the system. Need to find a big point of memory of the system installation and debugging.

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.