The emulator is running. But when I write adb shell in my shell I get:
adb shell
error:device offline
What is the reason for this? How do I get rid of it?
If "adb devices" lists your device but as "offline" chances are your path leads to an old version of adb (eg 1.0.29) which has problems with latest Android 4 devices. Make sure "adb version" returns 1.0.31 or greater. Starting with Android 4.2.2, you must confirm on your device that it is being attached to a trusted computer. It will work with adb version 1.0.31 and above.
2.1m questions
2.1m answers
60 comments
57.0k users