Prompt error:more than one device and emulator when entering ADB shell

Source: Internet
Author: User

The first scenario: do use multiple devices or simulators
Workaround: (Specify a device or emulator to connect to)

1. Get the simulator/device list

adb devices

2. Specify device to execute ADB shell

adb -s devicename shell

For example:

adb -s emulator-5554 shell

In multi-device, executing the ADB command typically requires the device to be specified with the parameter-S. For example, uninstalling the package on emulator-5554 Com.soft.cameraadb -s emulator-5554 uninstall com.soft.camera

In the second case, there is a device or simulator (there are many because this device has been used two times. ADB devices will see this device in two different ways: offline and device) Workaround: General approach: enter ADB in the command window Start-server Restart the Adb.exe service if the above method is not possible, the ultimate method: Open the taskbar, select the "Processes" tab, find the Adb.exe process, end it, restart the finished ok (or in the Command window, enter the command ADB Kill-server)

Reprinted from: http://blog.sina.com.cn/s/blog_7ffb8dd50100wvrb.html

Prompt error:more than one device and emulator

when entering adb shell

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.