How to attach back the Android emulator to ADB?

前端 未结 7 2071
北恋
北恋 2020-12-02 08:58

After I start the emulator by hitting Debug in Eclipse, after certain time it disconnects from the ADB, but the emulator stays open. It is responsive, I can navigate and sta

7条回答
  •  温柔的废话
    2020-12-02 09:30

    My handy bash script

    #!/bin/bash
    ./path/to/adb kill-server
    ./path/to/adb start-server
    ./path/to/adb devices
    

提交回复
热议问题