Android Common Error Resolution Rollup

Source: Internet
Author: User

A, No active compatible AVD ' s or devices found. Relaunch this configuration after the connecting a device or starting an AVD.

Modify the port of ADB server, set a system environment variable android_adb_server_port, a value of 7913 (a random number), and then start ADB server

Steps:

A) enter CMD command mode

b) CD Xxx\platform-tools

c) ADB Start-server

Ii. Common Commands

A) Close the ADB service

ADB kill-server

b) Start the ADB service

ADB start-server

c) Viewing the device

ADB devices

d) Install the software

ADB install < software name >

e) Uninstalling the software

ADB uninstall < software name >

ADB uninstall-k < software name >
If you add the-K parameter, the software is uninstalled but the configuration and cache files are preserved.
f) Login Device Shell
ADB shell
This command will log into the device's shell.
The subsequent add will be to run the device command directly, equivalent to executing the remote command
g) Send files from the computer to the device
ADB Push < Local path > < remote path >
Use the push command to copy files or folders on your computer to your device (mobile)
h) Download files from the device to the computer
ADB pull < Remote path > < local path >
Use the pull command to copy files or folders on your device (phone) to your local computer
i) Display Help information
ADB Help
This command will display the Help information

Android Common Error Resolution Rollup

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.