问题
When opening Android Studio i've encountered the issue of being unable to run a genymotion device via the two ways applicable [The genymotion icon and via the run configuration]?
Update:
Software Versions:
Genymotion version:2.4.0
Android Studio version:1.0
Operating System:win 7
Android Studio displays:
22:17:38 Genymotion Listing virtual machines and found Genymotion virtual device...
22:19:59 Genymotion: Launch process: F:\Oracle\VirtualBox\VBoxManage.exe list vms 22:19:59 Genymotion [SUCCESS] Process: F:\Oracle\VirtualBox\VBoxManage.exe list vms
22:19:59 Genymotion Listing virtual machines and found Genymotion virtual device...
PS:I have two devices in Genymotion already downloaded, they can work in genymotion but can not display in Android Studio.
回答1:
Expansion from comments for future readers:
Genymotion's main purpose is to run a Virtual Machine outside of Android Studio. Take these steps:
- Open Genymotion
- Open the device you wish to use [if it's your first time, download an appriopriate device and then open it]
- Go into Android Studio
- Right click on the desired project
- Click Debug
- Select the Genymotion device you have open
- Go back to Genymotion and wait it shouldn't take long to load.
Note: Ensure that when you click the Genymotion icon inside Android Studio and it shows up a 'preferences' dialog, you should place the file path to the Genymotion program inside the area provided. Click finish. When you click the icon again it should show you the devices that are available. see Android Studio + Genymotion tutorial.
来源:https://stackoverflow.com/questions/30054014/android-studio-genymotion-issues