我在Linux上使用ADT 22.6.3。
我启动了像$ ./emulator -avd API_10_ARM
但是adb不会认出来:
$ adb kill-server
$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
$
亚行版:
$ adb version
Android Debug Bridge version 1.0.31
编辑:模拟器正在侦听5554和5555:
$ netstat -tulpn | grep emul
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 127.0.0.1:5554 0.0.0.0:* LISTEN 23236/emulator64-ar
tcp 0 0 127.0.0.1:5555 0.0.0.0:* LISTEN 23236/emulator64-ar
答案 0 :(得分:1)
一个。试试sudo adb kill-server
后跟sudo adb devices
B中。尝试直接从platform-tools
运行adb
或者,使用apt-get
安装android-tools-adb