Eclipse + genymotion build Android development environment and debug

First install the Genymotion plugin:

     Help  —》 Install New SoftWare  —》Add  

    Fill in the Name by yourself, and fill in the plugin address for the Location: http://plugins.genymotion.com/eclipse

   For specific reference, "The Fastest Android Emulator Genymotion Use Complete Tutorial"

   After the installation is complete, you must install Genymotion, and you must register before downloading.

   For details, refer to "Installation of the Fastest Android Emulator Genymotion"

  Now the main talk is how to use the Genymotion emulator to debug the program under eclipse:

1. After the installation is complete, there will be the following red icon in the eclipse interface, click to see the created virtual Android device, if not proceed to the next step

2. After installing Genymotion, open Genymotion, start and click Add to add the virtual Android device you need to create

After selecting the desired device, click Next to download and install

3. After the installation is complete, the corresponding device will be displayed on the main interface

 

4. To debug, you also need to set the path of the Android SDK. At this point, after selecting the corresponding device, click Settings - "ADB, Browse to select the path of the SDK, and after seeing successfully, it means that it is successful. Click OK

 5. To debug the program, you must first run the virtual Android device, select the device to run, click Start in the main interface, start the device and you will see the emulator

6. Now you can debug the program, go back to Eclipse, right-click the project, Run as - "Run Configrautions - "Android Application - "new, create a new configuration file, under the Android directory, Browser project name, here The project name is Snake

 

Click Target next to Android, select the second one, and click run

 

 

7. This is to see that the APP we want to debug is installed in the simulator

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326993579&siteId=291194637