com.android.ddmlib.AdbCommandRejectedException: device offline

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
com.android.ddmlib.AdbCommandRejectedException: device offline
at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:854)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:457)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:387)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:356)
at org.jetbrains.android.util.AndroidUtils.executeCommandOnDevice(AndroidUtils.java:386)
at org.jetbrains.android.logcat.AndroidLogcatUtil.startLogging(AndroidLogcatUtil.java:67)
at org.jetbrains.android.logcat.AndroidLogcatUtil.access$100(AndroidLogcatUtil.java:46)
at org.jetbrains.android.logcat.AndroidLogcatUtil$4$1.run(AndroidLogcatUtil.java:135)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
31 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.