Android 25: How does the simulator restart? Try genymotion!.

Source: Internet
Author: User

Need to test the Android 5.1 system after the restart of a feature, I do not have the device so high version, then had to help the simulator. Like most netizens, I have a big problem, how do I reset my android emulator?
I have a few ideas:
* Press and hold the simulator power Kay to bring up the restart key. Unfortunately, the system defaults to only one poweroff.
* adb reboot or adb shell enters simulator and executes reboot. Tried a few simulators, did not succeed, only hear My notebook CPU fan is running fast.
* Write a restart of the small app yourself to do the restart. This is the program I wanted to write a few years ago, but Android didn't release the interface. Ordinary applications do not.

In this way, a few ideas are not lit, how to do? Then try the third-party simulator Genymotion! Here is my holding to try the attitude, step by step, did not expect to have a perfect ending.

Genymotion is a very good third-party Android simulator, but to use advanced features is to spend a monthly cost, if only the basic test requirements, free personal version can also help. Official website is https://www.genymotion.com/, download and use need to register account first.

At first I thought word of mouth such a good tool, installation should be the event very easy things, but didn't think I encountered a lot of problems with the installation.

You need to install VirtualBox first. This is of course the newer the better, I installed before the 4.3.26 enough to use. A version that is too low is unusable or has a problem with efficiency. Install the Deb package with dpkg under Ubuntu.

Register your account and download the appropriate bin package. (This bin package at that time I really do not know how to deal with, finally asked the netizen just know is executable)
My system is ubuntu14.04, after downloading executes:

$ ./genymotion-2.4.0_x64.bin

Generate the Genymotion folder with the following contents:

$ ls genymotioncrypto lib64openglrender. soLibqtwebkit. so. 4Device-upgrade Libavutil. so. WuyiLibqtxml(s). 4Genymotion Libcrypto. soLibssl. soGenymotion-shell Libprotobuf. so. 7Libswscale. so. 2Genymotion-tool LIBQCA. so. 2Playergenyshell Libqtcore(s). 4Pluginsicons Libqtgui. so. 4Sqldriversimageformats Libqtnetwork. so. 4Toolslib64egl_translator. soLibqtscript. so. 4Translationslib64gles_cm_translator. soLibqtsql. so. 4Lib64gles_v2_translator(s)Libqtsvg(s). 4

Perform

genymotion$ ./genymotion

The error says VirtualBox engine not load.
Resolved as follows:

$ /etc/init.d/vboxdrv statusVirtualBoxKernel module   is not loaded.$ Sudo/etc/init.d/vboxdrv Setup[sudo] Password for Linc: stopping VirtualBoxKernel modules ... done.recompiling VirtualBoxKernel modules ... done.starting VirtualBoxKernel modules ... done.$ /etc/init.d/vboxdrv statusVirtualBoxKernel modules (vboxdrv, Vboxnetflt, VBOXNETADP, VBOXPCI) are loaded.

This time again. The/genymotion will start normally.

Then go to add Device Stage, need to login, encountered "Genymotion unknown generic error". Unfortunately, is it a waste of time in one day? Will I be able to use you well?
Perhaps it is the network problem, the official website is very slow. If you want to log in or not, the user experience is not very good.
This error is not the network configuration for setting up the virtual machine in Vitualbox, because now we do not have any virtual machines. This is just a common network cause of the connection interruption, more than a few attempts to log on a few times. I tried it more than 5 times.
After logging in, a list of devices that can be downloaded will appear, and I have selected 6 sons, System information such as:

The next step is to download the process, the individual feel speed can also.

So start this simulator and look at it! Speed is really not to say, very quickly!

The right side is a list of features, but good versatility is only available for a fee.
Now let's see if there's a virtual machine in the VirtualBox. Such as:

Finally successfully launched the expected simulator, and quickly try reboot very useful. Of course, with the command line, ADB reboot and adb shell execution reboot can successfully restart the emulator.
Pretty! You can use it to test the function I want!

Android 25: How does the simulator restart? Try genymotion!.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.