com.android.ddmlib .AdbCommandRejected Exception:device offline
Error while Installing APK
The problem is that the ADB has been killed. Just restart it
There are three ways:
1、 You can find Plattform tools
in the SDK file, and you can find ADB,
in this folder
double click the ADB to restart
2. You can also perform two-step command operations in CMD:
2
1、adb kill-server
2、
adb start-server
3、 Restart the computer
The above is reprinted content
Personal supplement: I tried the first method, which is effective, and the result is effective and invalid when it runs again. Finally, it was found that the interface of the mobile phone was in poor contact, resulting in a sudden drop of the line during operation.
Episode: when searching for this question, the comments asked the original blogger if he could reprint it. Because he didn’t receive a reply immediately, he temporarily sent an original article. Today, some people like it. I just saw that the original blogger replied that it could be reproduced soon. Let’s make it up today.
Read More:
- On the error report after the command of ADB shell error:device not A solution of found
- Android foundation error failed to install
- com.android.ddmlib.AdbCommandRejectedException: device offline Error while Installing APK (How to Fix)
- Error reporting UI hierarchy using uiautomatorviewer
- xcode will continue when iPhone is finished iPhone is busy:Processing symbol files
- Uiautomatiorviewer connect to the machine and click to report unexpected error while observing UI hierarchy
- Flutter SocketException: OS Error: No route to host, errno = 113, address = XXX
- Unknown failure (at android.os.Binder.execTransact(Binder.java:565))Error while Installing APKs
- How to use Android android:supportsRtl attribute
- Prompt “XXX is” when debugging real machine busy:Processing symbol Files “and” Xcode will continue when XXX is finished“
- Developing in Android java.net.SocketException : socket failed: eacces (permission denied) reported an error
- Error: ADB prompts device unauthorized
- [Android test] solution for error closed after the carriage return of the ADB shell
- Android android.intent.category Purpose and use of. Launcher
- Mobile phone code termux
- <info> peer_manager_handler: Connection security failed
- Nexus 5x unlock bootloader + root
- About creo 4.0 license request failed for feature solution
- Unexpected error while observing UI hierarchy
- Android error: ADB port is occupied( adb.exe ,start-server’ failed — run manually if necessary)