Common errors and solution totals for Android notes _android

Source: Internet
Author: User

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

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

Steps:

A) into the cmd command mode

b) CD Xxx\platform-tools

c) ADB Start-server

Ii. Common Commands

(a) Closure of ADB services

ADB kill-server

(b) Start ADB services

ADB start-server

c) View Equipment

ADB devices

d) Install software

ADB install < software name >

e) Uninstall software

ADB uninstall < software name >

ADB uninstall-k < software name >

If you add the-k parameter, you uninstall the software but keep the configuration and caching files.

f) Log in to the device shell

ADB shell

This command will log in to the device's shell.

The next plus will be to run the device command directly, which is equivalent to executing a remote command

g) Sending files to the device from the computer

ADB Push < Local path > < remote path >

Use the push command to copy a file or folder from a local computer to a device (cell phone)

h) downloading files from the device to the computer

ADB pull < Remote path > < local path >

Use the pull command to copy files or folders on a device (cell phone) to a native computer

i) Display Help information

ADB Help

This command will display Help information

The above content is small to share the Android note-making common mistakes and solution summary, I hope you like.

Related Article

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.