When android studio runs code, device cannot recognize genymotion devices and androidgenymotion
I. solutions on the Internet:
I believe there are many tutorials on downloading, installing, and configuring genymotion on the Internet (for the steps a, B, c, and d below, refer to the tutorials searched by Baidu for ease ), but there is still a key last step to complete the setup. Unfortunately, it is not mentioned in many tutorials. So I encountered a problem. Now I have solved the problem and sorted it out for reference.
My problem: I already have. genymotion, B. install genymotion shell, c. installed virtual VM VirtualBox, d. genymotion plugin is installed on android studio and can be started normally. However, in the run project, only my mobile phone devices and ADT analog devices are available for me to identify genymotion devices (A genymotion device has been started ). So what is the problem?
Cause: genymotion adb is not set, that is, the sdk path.
Solution: Open the genymotion homepage and set the sdk location to the directory of the sdk used by android studio.
Procedure:
1) click settings
2) Click ADB, set the sdk location, select Use M Android SDK tools, and select the location of the Android SDK.
3) Restart Android studio, restart the genymotion plug-in of android studio, and run my android project. Then, the Android studio can be correctly recognized.
Successful !!
2. My solutions:
According to the settings on the Internet, the simulator can be started, but the device still cannot recognize it.
Restart the computer, enter the BIOS settings to enable virtual, enable AS, and identify it successfully.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.