Error: device offline

前端 未结 15 1118
醉梦人生
醉梦人生 2020-12-13 09:36

The emulator is running. But when I write adb shell in my shell I get:

error:device offline

What is the reason for

15条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 10:11

    Make sure you're superuser.. Instead of 'adb start-server' do 'sudo adb start-server', enter your password (it will not echo), press enter. Then, 'sudo adb devices' and it will show as online.

提交回复
热议问题