Enter the installation directory D:\Program Files\leidian\LDPlayer4
powershell
.\adb
cmd
adb
if it appears
adb shell
error: more than one device and emulator
In this case, the first thing to check is whether there are really multiple devices or emulators.
adb devices
List of devices attached
emulator-5554 device
127.0.0.1:5555 device
It is found that there are multiple devices, then you need to specify the serial number of the device for the ADB command.
adb -s emulator-5554 shell
That is, as shown above, just add the -s parameter to the command!
If there is actually only one device or simulator, and the offline status is found;
it means that it is caused by a bug in ADB itself, and it needs to be dealt with as follows:
adb kill-server
taskkill /f /im adb The first command of .exe
is to kill the ADB service, and the second command is to kill the ADB process!
If the first one doesn’t work, consider using the second one to try again!
Finally execute this command to
set the proxy,
.\adb -s 127.0.0.1:5555 shell settings put global http_proxy 192.168.0.72:8888
remove the proxy
adb shell settings delete global http_proxy&adb shell settings delete global global_http_proxy_host&adb shell settings delete global global_http_proxy_port
or when there is no delete command
adb shell settings put global http_proxy :0
Read More:
- How to Solve Vue Command Not Work Issue in win7_64
- VScode: How to Fix “Comments are not permitted in JSON” issue
- How to Fix “Slow Access of Stackoverflow” Issue
- How to Fix error performing isolated work; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarE
- Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then
- Proxy error:could not proxy request
- How to Fix Session is not Connecting (How to Diagnose it)
- Exception in thread “main“ java.lang.ClassCastException: com.sun.proxy.$Proxy8 cannot be cast to XXX
- How to eliminate ADB error “more than one device and emulator”
- How to Solve Arduino IDE Crash Issue
- When configuring the proxy with Vue, the front-end requests the server-side error 504; the Vue console reports the error occurred while trying to proxy request
- How to Solve Win 10 Kb5008212 can’t share printer Issue
- Unknown error (SQLite code 14): could not open database (How to Fix)
- Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded (How to Fix)
- How to Fix Invalid bound statement (not found) Error
- ERROR 1524 (HY000): Plugin ‘auth_socket’ is not loaded How to Fix
- How to Fix Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
- How to Fix ”is not in the sudoers file“ in Linux
- How to Fix Pandoc wasn’t found.pdflatex not found on PATH
- How to Fix Failed to open \EFI\BOOT\grubx64.efi Not Found