Android Studio + Genymotion emulator

1. Download and install Genymotion

download:

Official website https://www.genymotion.com

Resources - Download - 选 with VirtualBox

Install:

Default all the way

start up:

Virtual Box and Genymotion will start

2. Create and start the virtual machine

create

There is a + sign on the Genymotion interface, click to create it

start up

If the startup error occurs: genymotion unable to start the virtual device.

Solution: When setting up the network, you will see a bunch of VirtualBox Host-Only Ethernet Adapters #1 to #n, just activate the one with the largest #.

3. Android Studio connects to Genymotion

Although Genymotion has been started and the virtual machine just started is seen in the Android Studio device drop-down box, there is a red exclamation mark in front of it.

The Genymotion plug-in needs to be installed in Android Studio:

File - Settings - Plugins - MarketPlace, enter Genymotion in the search box

Then install this plug-in. The red exclamation point in front disappears. Click the green triangle on the right side of the device drop-down box to run the app corresponding to your project on the virtual machine.

Guess you like

Origin blog.csdn.net/piggy514/article/details/128339378