JEB动态调试找不到Android studio虚拟机进程

Android studio虚拟机已经开了,Android killer也能找到虚拟机。但是唯独jeb动态调试找不到。

problem图
在这里插入图片描述在这里插入图片描述

Make sure that:

  • Your device is connected / emulator is running
  • The Android Debug Bridge tool (adb) is installed and accessible.
    It is recommended to install the Android SDK or Android Studio with the SDK.

Open a command prompt and run ‘adb devices’ to verify the connectivity and status or your Android device(s).

以上几点也已经make sure正常运作了。

解决办法:
安装Android studio时没自动帮我们设置adb环境变量,把adb环境变量设置好即可

adb环境变量设置