0

Android studio giving error "com.android.ddmlib.AdbCommandRejectedException: device offline Error while Installing APK" even though android device is connected.

I tried by adb kill-server and adb start-server but after this kill and start process first time code runs properly but second time again gives the same error.

Please If anyone knows the solution share , Thank you.

Sunil Hamne
  • 1
  • 1
  • 4
  • http://stackoverflow.com/questions/37856539/com-android-ddmlib-adbcommandrejectedexception-device-offline-even-when-device – jibysthomas Aug 31 '16 at 12:04
  • 1
    show the `adb devices` command line output – Vladyslav Matviienko Aug 31 '16 at 12:12
  • This is adb command line output : C:\Program Files (x86)\Android\android-sdk\platform-tools>adb kill-server C:\Program Files (x86)\Android\android-sdk\platform-tools>adb start-server * daemon not running. starting it now on port 5037 * * daemon started successfully * C:\Program Files (x86)\Android\android-sdk\platform-tools> – Sunil Hamne Aug 31 '16 at 12:22

0 Answers0