Fire speed improves the running speed of Android simulators-simulators Genymotion and androidgenymotion
Android development uses simulators to test applications. However, whether you use Eclispe ADT or Android Studio simulators, they are based on the arm architecture and run very slowly. It takes a lot of time to start them, I don't know what it is loading. Today, we recommend a new Oracle VM VirtualBox-based simulator Genymotion, which is currently the most popular simulation tool and runs faster than a real machine.
Genymotion provides two editions: The Personal Edition and the commercial edition. The Personal Edition are free of charge. The commercial edition supports many features, and of course charges fees. However, the Personal Edition meets the needs of testing applications, in the end, we have to run on a real machine. The Personal Edition of Genymotion has the following advantages:
1. You can drag and drop the apk file to the simulator for installation.
2. Support for GPS, Camera, and Power Management
3. Supports horizontal/vertical screen Switching
4. run multiple simulators at the same time to test different versions and devices. assign an IP address to each device for network testing. The key is that the running speed is not affected.
Ii. installation and configuration |
1. Download
Official website address: https://www.genymotion.com/
Before downloading, You need to register an account. After logging in, the Personal Edition and Enterprise Edition selection page appears. (Of course, the Enterprise Edition requires payment.) Click to go to the Personal Edition download page and select Get Genymotion.
2. Install the downloaded Genymotion
3. Install Genymotion plugin for Eclipse plug-in
You can install the tool online as follows:
A) Open Eclipse and select Help> Install New Software.
B) In the pop-up Install dialog box, add the option
Input http://plugins.genymotion.com/eclipse/Address ,:
C) Click OK and check the Genymobile option. You can install it later.
You can also install the agent on the official website.Genymotion-eclipse-plugin.jar,The installation process is similar to online installation, but select Archive in step 2... Click to select the downloaded plug-in
4. Install the plug-in and restart Eclipse.You will find the section in the toolbar.
Indicates that the plug-in has been installed. Run the windows-> option menu, set the Genymobile option, and specify the installation directory of Genymobile ,:
Click the circled button and click New to install the virtual device,
Multiple devices can be installed, so Genymotion installation and configuration are complete.
It is very easy to use. The key is to feel the speed.
1. Start a virtual machine
Start the virtual machine before testing the project. Otherwise, Eclipse cannot detect the device. Select an installed Virtual Machine and click start ,:
2. Run as-> Application
Right-click the project and Run as-> Application. The virtual device is displayed in the dialog box.
3. Click OK.
Click OK to install and run the application.
The circled button enables horizontal/vertical screen Switching
Iv. FAQs-Problems with Eclipse that do not recognize genymotion Devices |
Eclipse often does not recognize genymotion devices during use,
Solution:
Close Eclipse first, then open genymotion-> Find settings-> Find ADB option ,:
Select item 2, Click Browse, select the installation directory of your SDK, and click OK
Restart Eclipse and run it again.