com.android.ddmlib.AdbCommandRejectedException: device offline Error while Installing APK (How to Fix)

com.android.ddmlib.AdbCommandRejectedException:device offline
Error while Installing APK

The problem is that ADB is killed, just restart it
There are three ways:
1. Plattform-tools can be found in the SDK file, and adb can be found in this folder.
Double-click ADB to restart it

Second, you can also perform a two-step command operation in CMD:
1, the adb kill server
2, the adb start – server

Restart the computer

— —
copyright notice: this article is the original article of CSDN blogger “shenshizhong”, in accordance with CC 4.0 by-sa copyright agreement, please attach the source link and this statement.

Read More: