Solve the problem of automatic disconnection between Yeshen emulator and Android studio

Reason:The adb version of the Night God emulator is inconsistent with the adb version of the Android sdk

Solution:

1. Find the android sdk

(1)File--->Project Structure

(2)SDK Location: note the location of the sdk

2. Find the adb file in the sdk

 SDK-->platform-tools-->adb.exe

3. Copy adb.exe in the sdk to the bin of the Yeshen simulator, and replace abd.exe in the bin.

The problem is solved! !

If the original Locat has a problemNo connected devices, it is also the reason. After replacement, Locat can be used normally

Guess you like

Origin blog.csdn.net/weixin_69884785/article/details/134935727