Android Simulator has been known for the speed of the extremely slow, basically slow to unusable, compared to the IOS development simulator, the difference, but today introduced the Android simulator Genymotion, as fast as the real machine.
mac/win/linux . Recently released a new version, supported by android2.3/4.3, added a drag-and-drop apk to remove the Google market (the solution is provided later). In addition to the more feature-rich paid version, individuals can continue to use the free version.
How to use
A brief introduction to how to obtain and use the Genymotion:
-
Download and install VirtualBox;
-
Register genymotion account and log in;
-
Download and install the genymotion, and the Eclipse plugin (optional) According to your own system;
Then you can start the Genymotion program:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6D/91/wKioL1VmuHWQGEhTAAGtbDch4Ss261.jpg "title=" 1.png " alt= "Wkiol1vmuhwqgehtaagtbdch4ss261.jpg"/>
The Settings button on the main interface can be used to set VirtualBox and ADB path information. Click on the Add button to log in with your Genymotion account and the available Android virtual devices will be displayed:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6D/91/wKioL1VmuK-iXVjpAAFn3x5i2sQ181.jpg "title=" 2.png " alt= "Wkiol1vmuk-ixvjpaafn3x5i2sq181.jpg"/>
Find the desired model and version, install it, go back to the main interface point Play button to launch it, To install the app, simply drag the apk file into the virtual machine:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6D/95/wKiom1Vmt1-zyS2FAAId60gPGU0275.jpg "title=" 4.png "alt=" wkiom1vmt1-zys2faaid60gpgu0275.jpg "/>
esc is the back key of the virtual machine, F1 is the menu key. You can see that although the Genymotion bottom uses VirtualBox, the whole process, VirtualBox has been a hero behind the scenes and will not appear.
In addition, if you install the Eclipse plugin for genymotion, you can manage and use virtual machines in eclipse later. If you specify the ADB path in Genymotion, it is also convenient to debug your Android app.
Genymotion virtual machine running on this machine, so the local network permissions, virtual machine also has.
Google Markets and ARM libraries
As mentioned earlier, the new genymotion removed the Google market. In fact, the support for the ARM library has also been removed:
When you install certain apps, you will report "install_failed_cpu_abi_incompatible" errors, such as. The XDA Forum provides a solution that is proven to be useful.
Steps to install GApps (including Google market) and arm translation (with ARM support) (as far as possible, refer to the original English language):
-
Download ARM translation Installer v1.1
-
Download the downloaded zip file (do not unzip) directly into the virtual machine to install, after the completion of the virtual machine "shut down" to re-open, do not directly close the window
-
Download the corresponding system version of Google Apps, recommended download 4.3,4.4 may have a bug
-
Likewise, do not unzip the zip file, drag and drop it to the virtual machine for installation, and restart the virtual machine
-
The Google Play market and other Google Apps will appear after success
-
You will not be able to install or apply any more errors.
That way, Google Play and other Google apps are available, and apps like the one you install won't get an error.
Please note that the students who use MAC
Genymotion relies on Virtualbox virtual machines, and another well-known virtual machine software "parallels desktop" under the MAC system is no way to use it at the same time. Parallels Desktop official says no solution:
No workaround is available. Please try not to use Parallels Desktop and Virtual Box at the same time
So every time you use genymotion, you have to turn off Parallels Desktop, and you have to close genymotion to use Parallels desktop.
The problem is: closing Genymotion,virtualbox some processes do not automatically exit. So we have to manually end all of the Virtualbox processes in order to run Parallels Desktop properly. I wrote a "kill virtualbox" Alfred Workflow dedicated to doing this, in fact, on one line:
update: After upgrading to 2.0.2, the direct shutdown genymotion can exit all VirtualBox processes at the same time without the complexity of the above.
Finally, let's talk about it, do not run in the Android emulator, because there is a danger of the number:
Both simulators are blocked, which generally indicate "reported" or "serious breaches of the relevant agreement":
1, Virtualbox + Android x86, genymotion and domestic various cottage version;
2, Bluestacks.
If you have any questions, you can add my private exchange: wanghj29
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6D/95/wKiom1Vmt8WiHzm7AAGsh5KPdWM018.jpg "title=" QQ picture 20150515142627.jpg "alt=" wkiom1vmt8wihzm7aagsh5kpdwm018.jpg "/>
Android Best Simulator Genymotion