Build the Android development environment

Source: Internet
Author: User

Building the development environment
1.JDK 64 32

  2.Eclipse MyEclipse, Studio

3.Android SDK (software developer kit) 2.3.3 4.1.2 (Android SDK is required for Android development)

Android SDK Directory:  

Add-ons: reserved folders, storing some advanced APIs
Build-tools: Building Tools
Docs: Documents
Extras: Additional jars, accelerator tools
Platforms: Core jar for different versions of the SDK
Platforms-tools: Tools used by the platform, packaging tools appt, Debugging tools adb
Sources: Source code
Sysetm-images: System Mirroring
Tools: Some tool for assisted development

Android Engineering directory structure  

SRC: Code source file
Gen: Auto Generate R: a dictionary class
Android Core jar dependent jar
Assets: Asset catalog holds some data files
Bin: Compiled generated
Libs:jar file
Res: Resource file:
Drawable: Pictures
Layout: Layouts File
Menu: Layout of menus
String: strings, color, style
Androidmanifest: Manifest file, package name, version information, running version, some components in the application, four components, and configuration servlet similar

adb instruction to practice Android Debug Bridge

Use ADB to configure environment variables

Where the SDK is placed \adt-bundle-windows-x86_64_20140101\sdk\platform-tools Configure environment variables

1.ADB devices view current PC connected Android device
2.ADB Kill-server end ADB Connection service
3.ADB start-server open ADB Connection service
4.ADB Push PC-side file path mobile phone-side path; ADB push c:\users\xuhaiyang\desktop\5.apk/sdcard/6.apk
5.ADB Pull Mobile End path computer-side file path; ADB pull/sdcard/6.apk C:\Users\xuhaiyang\Desktop\5.apk

6.ADB install-r apk file path; -R Force Install install app
7.ADB Uninstall application package name; Uninstall app
8.ADB Shell switches to the mobile Linux environment; LS and other Linux instructions,
9.ADB shell; logcat; View the current phone's log information
10. When more than one device is connected to the computer, the ADB directive needs to be added directly after ADB:-S device name

Build the Android development environment

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.