How can I detach a device from a device that is connected to an Android app by using eclipse ADT?

Source: Internet
Author: User

Develop Android applicationsProgramYou may need to test between multiple devices, including emulator and handheld devices.

When you need to delete an app in development, you need to use the ADB uninstall command. Its explanation is as follows:

ADB uninstall [-K] <package>-Remove this app package from the device
('-K' means keep the data and cache Directories)

By default, this command can run normally when one device is connected. When multiple devices are connected, the following situation occurs:

Select the name of the device to delete the app. Run the ADB devices command to obtain the device list and the device name.

Then use ADB-SDevice NameUninstall
Package nameTo uninstall the app, as shown in:

I hope it will be helpful to others. please correct me if you have any suggestions.

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.