Android's lone formula: simulator creation and ADB (Android Debug Bridge Android)

Source: Internet
Author: User

vga:640*480 pixels |

HVGA (half VGA): 480*320 pixels |

QVGA (Quarter VGA): 320*240 pixels |

WVGA (width VGA): 800*480 pixels |

fwvga:854*480

Second, ADB (Android Debug Bridge: Android Debugging Bridges)

Common commands:

Pull

ADB pull/storage/sdcard1/dcim/camera/img_20141124_193236.jpg abc.jpg (Will/storage/sdcard1/dcim/ Picture files under the camera folder are copied to the current directory, and are named Abc.jpg.

Push

ADB push abc.jpg/storage/sdcard1/dcim/camera/img_20141124_193236.jpg (copy the abc.jpg image from the current directory to/storage/sdcard1/dcim/ Camera folder and named Img_20141124_193236.jpg)

Kill-server and Start-server:

When the console appears with the following information: Connect attempt 1

Connect attempt 2

....

Indicates a socket error for the ADB Debug Bridge, which can be resolved by using ADB kill-server and adb start-server to kill the debug bridge process and restart it

Install

ADB install demo.apk installs the current demo.apk to the phone

Uninstall: (uninstall Apps from Android)

ADB Uninstall [package name (see through process name)]

ADB devices

View all device information for the current connection

ADB shell

Go to the command environment of the simulator or the real machine (you can then use the commands in Linux)

PS: Show Process

Kill process number: kills the process

Android's lone formula: simulator creation and ADB (Android Debug Bridge Android)

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.