从Android Studio重新启动ADB(Restart ADB from Android Studio)
我以前在Eclipse上开发并刚刚迁移到Android Studio。 一切正常,它更好,更快。
我在真实设备上工作,Android Studio可以毫无问题地识别它。
但是,当我断开并重新连接设备时,它不再识别我的设备,我必须退出并重新启动Android Studio。
我找不到像Eclipse Feature一样的“重置adb”的方法。
亚行可以在Android Studio中重新启动吗? 如果是这样,怎么样?
I previously developed on Eclipse and just migrated to Android Studio. Everything works fine, it's better and faster.
I work on real device, and Android Studio recognizes it without issue.
But when I disconnect and reconnect my device, it doesn't recognize my device anymore, I have to exit and restart Android Studio.
I can't find a way to "Reset adb" like Eclipse Feature.
Can ADB be restarted from within Android Studio? If so, how?
原文:https://stackoverflow.com/questions/22667030
2020-11-13 18:11
满意答案
我遇到这个错误时通常会做的是通过在Terminal键入命令重新启动adb服务器:
adb kill-server
adb start-server
但是,这可以在Android Studio中实现。 点击Monitor按钮,可以启动您从Eclipse引用的相同程序。
如果你没有看到这个&#