Android mobile phone development platform built

Source: Internet
Author: User

Learn Android to record the learning process and enhance the learning effect.

1. Download the necessary tools to build an Android development platform
1) jdk1.6-http://www.oracle.com/technetwork/java/javase/downloads/index.html
2) Eclipse ( Eclipse IDE for Java developers), can be a different version-http://www.eclipse.org/downloads/
3) sdk-http://developer.android.com/sdk/index.html
4) adt-http://developer.android.com/sdk/eclipse-adt.html
2. install JDK, always next, environment variables can not be configured, no impact on development. You can verify that the installation is successful in CMD, as shown below
3. install Eclipse, decompression can
4. Install ADT, as Eclipse plug-in, the installation process is consistent, you can choose to install online. Map Offline installation process:
1) eclipse->help->install new software
2) Click Add
3) name-can be arbitrarily taken, location-Select ADT Compression Package
4 You can see that there are four kits under Developer tools:
1.ddms:ddms's full name is the Dalvik Debug Monitor service, which is the Dalvik virtual machine debugging and monitoring services in the Android development environment. It provides us, for example, to screen a test device, view running threads for a specific process, and heap information, LOGCAT, broadcast status information, analog phone calls, receive SMS, virtual geographic coordinates, and so on.
2.Development Tools: Related development tool
3.Hierarchy Viewer:hierarchy Viewer is a tool released with ANDROIDSDK, located under the Tools folder, called Hierarchyviewer.bat. There are 2 main functions:
⑴ visually from the visual angle to obtain the UI layout design structure and various attributes of information, help us optimize the layout design;
⑵ combines debug to help observe the process of invalidate and requestlayout operations for specific UI objects.
4.traceview:traceview is the Android platform with a good performance analysis tool. It can graphically let us know the performance of the program we want to track, and can be specific to method.
The rest is next.
5. Install the SDK, extract the SDK compression package, extract the directory is best not to have Chinese or other special characters (spaces, etc.)
1 Start SDK Manager directly in eclipse
2 Open the SDK Manager main interface and select the version to install
3) Click on the installation can be completed
4 install complete, and then configure Eclipse., click Eclipse->window->preference
5 Select the left ANDROID,SDK location Select the SDK extract directory, click Apply, and then OK
6. Configure virtual machines to recognize virtual machines
1 Open the virtual machine
2) Select New
3 Pop-up virtual machine configuration interface, Name: virtual machine names (optional)
Target: Select Virtual Android version
Cpu/abi: Default
SD CARD:SD Card size
Snapshot: Do you need screenshots
Skin: Choose skin (basically the difference of resolution)
Hareware: Software General default
4 can see the virtual machine list just built, click Start, open the virtual machine
5 After a little waiting, you can see the cute little robot.
7. know the SDK, network version http://developer.android.com/sdk/index.html and off-line version
1 have the network, please open http://developer.android.com/sdk/index.html, you can download, view the various versions of the SDK and detailed introduction.
2 after the SDK installation is successful, the offline version can be viewed under the installation directory
 

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.