Android first app and ADB common commands

Source: Internet
Author: User

1.

Create a new project

1. Package Name: cannot be a Chinese--------------package name on the phone

2. Minimum Required SDK: The smallest SDK, typically 2.3

3. Target SDK: The largest SDK, running version

4. Compile with: Compiled version, general and run consistent

5. Theme: Theme

6. Configure Launcher icon: Custom icons, various properties

2.

ADB:ADB (Control Simulator)---------------virtual Machine connection to Eclipse-----------------------------practical (with ADB)

    1. Android Debug Bridge:android Debug Bridge
    2. Android Debug Bridge: The ADB command is used to append the full path of the Adb.exe to the path in the system environment traversal, D:\IDE\adt-bundle-windows-x86-20130729\sdk\platform-tools
    3. cmd-command

Settings are also available in Eclipse: ddms-devices-drop-down-reset adb---------------reset adb connection

Installing an external application to the emulator

CTRL+F1: Toggle Screen

Common ADB command Operations (need to configure Adb.exe environment variables)

ADB devices List of all devices

ADB start-server open ADB service

ADB kill-server close ADB service

adb logcat View Log

ADB shell mounts to Linux space

ADB Install < applications (plus extensions) > Install applications

Adb–s < emulator name > install < application (plus extension) > Installing apps to the specified emulator

ADB Uninstall < package name >

ADB pull <remote> <local>

ADB push <local> <remote> EMULATOR–AVD < emulator name >

CTRL + F11 Toggles the screen

Android first app and ADB common commands

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.