Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>
When I connect my mobile phone to charge, I start the simulator to debug, and when I execute the ADB command, I report an error
C:\Users\gaojs>adb shell
error: more than one device and emulator
C:\Users\gaojs>adb install e:\good.apk
error: more than one device and emulator
In this case, we should first check whether there are multiple devices or simulators
C:\Users\gaojs> ADB devices
list of devices attached
emulator-5554 device
4dfadcb86b00cf05 device
if it is found that there are really multiple devices, it is necessary to specify the serial number of the device for the ADB command
C:\Users\gaojs> ADB – s emulator-5554 shell
as shown above, just add the – S parameter to the command
If there is only one device or simulator, and the offline status is found
that means that the bug of ADB itself is the cause, so we need to deal with it in the following way:
C: users/gaojs & gtadb kill-server
C:\Users\gaojs> taskkill/F/im adb.exe
the first command is to kill the service of ADB, and the second command is to kill the process of ADB
Similar Posts:
- How to Solve “adb server is out of date. killing… ”
- adb: command not found [How to Solve]
- [Solved] ADB connect simulator error: ADB Server Version (36) doesn’t match this client (41); killing…
- How to Solve Android wireless debug Error
- Android Studio starts the emulator and appears “Timed out after 300seconds waiting for emulator to come online” solution
- Install and run Android in Androidx86 emulator – This adb server’s $ADB_VENDOR_KEYS is not set
- [Solved] PANIC: Missing emulator engine program for ‘x86’ CPUS.
- [Solved] adb shell error: more than one device and emulator
- [Solved] No accelerator found – failed to create HAX VM
- [Run the android emulator] emulator: ERROR: x86 emulation currently requires hardware acceleration!