First, Introduction
I believe you will use the Eclipse simulator to feel very slow card, here to introduce a good thing Android simulator genymotion. For more information, you can https://www.genymotion.com/to this website.
Second, install Genymotion
1, Registered genymotion login account
Enter the site https://www.genymotion.com/, you will find that requires registration before downloading the installation package.
2, download the installation package
After you log in to your account, go to the download page.
As shown above, there are two kinds of installation packages, one is the virtual machine VirtualBox, the other is not. If your computer has VirtualBox installed, you can choose a second installation package to install only genymotion.
Also note that your computer should conform to the "system Requirements" configuration requirements in the above figure.
3. Installation Genymotion
Double-click the installation package and install it all the way next.
Iii. use of genymotion virtual equipment (simulator)
1, start genymotion and login
2. Create a virtual device (simulator)
Click "+add" to enter the simulator selection list. The following figure.
Here, select the simulator you want to create, as shown above, select "Google Nexus 5-4.4.4-api19-1080*1920" and click "Next".
As shown above, you can modify the device name according to your own needs, and click "Next".
Then automatically download the relevant files, you just have to wait (a long time to do something else).
After the simulator is installed, click Finish.
3. Enable simulator
Double-click the emulator you want to enable, or select the emulator to enable, and click "Start" above to start the simulator.
As shown above, the simulator is ready to start deploying your application to the simulator.
4, solve the problem of CPU compatibility
When the installation is applied to the simulator, drag the APK package directly to the emulator installation to eject the following illustration:
The general meaning is: Installation failed, the virtual machine can not run the application contains arm code. You can use X86 coding or install an ARM translation tool on a virtual machine.
(1) Brief introduction to the problem
The Genymation simulator is run on a PC with a CPU-X86 architecture. And most of the phone's CPU is ARM architecture, general APK Packaging is also the default is arm. This will cause many arm applications to install to the Genymation emulator when prompted by this error.
(2) Solving method
Method One, use X86 coding application.
Method II, install ARM translation tool (ARM architecture support package) to the simulator, as the CPU of two different architectures arm and X86 communication between the bridge.
(3) Conclusion
Obviously "method Two" is more general, download the Genymotion-arm-translation_v1.1.zip package, drag the file directly to the virtual machine, after the installation is complete, restart the virtual machine.
The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.