Android simulator--genymotion faster than the real machine

Source: Internet
Author: User
Tags oracle vm virtualbox vm virtualbox

Android simulator--genymotion faster than the real machine

----Reprint Please specify the Source: Coder-pig


Introduction to this article:


The author as a non-income college dog, unlike some of the company's friends, have their own test machine, with more than a year of Lenovo S898t

Already "riddled with holes", unsightly! In fact, I do not like to put on their own mobile phone so many of their own test software!

After all ~

Here, I believe that a lot of friends and friends are the same as I usually use the SDK provided by the AVD virtual machine for code debugging.

Very often, you hear people complaining, "the garbage simulator starts all 10 minutes, how to play?", "Run a simple program to run for six months",

"Make an animation one card at a card, just like a slideshow ..." and so on all kinds of spit slot simulator!

The author is also deeply hurt!

A chance, heard the group of several people blowing water, the first time to hear the word genymotion, subconsciously Baidu a bit.

Know that there is this simulator, but did not care at that time, recently saw an article blog post used this stuff, it looks good!

Today, it's OK to go down and install the food.

Finally a word was drawn.


Cool!

Fast!

Mouth


How a good word, and then what is the best advantage?

In fact, many of the other is the simulator fast, the boot only need a few seconds!

Execution program is also a matter of seconds!

Then switch and drag a little bit without a card, fluency first-class. Here's a look at this simulator!

Let's take a look at it, GIF. Because of the limited size, only a very short clip can be recorded

Think not enough to see the following demo video (Baidu Cloud dump, online Watch can, I temporarily did not find a good video sharing platform)

Click to watch:genymotion demo Video





Why use Genymotion (strengths):


PS: The official introduction:





where to download Genymotion

Baidu to have very many, the first is, Genymotion's Chinese official website:

Links such as the following:http://www.genymotion.cn/#theme =download



How to download and install Genymotion


① Open the link provided above, register account password:




② Select the required version number to download, assuming that there is no installation of VirtualBox, directly under the first one will be able to

It includes genymotion and virtual machines! Of course, if your computer is already virtualbox or not based on

The Windows system can be downloaded by selecting the following other version numbers:




③ do not hurry to dress, this time we login to our mailbox, activate our account, we will receive a message:




You will receive a message after the verification is complete:




④ Double-click the installation package, is the next step in the Fool's style:

Select the installation folder:

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvy29kzxjfcgln/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">

The installation of Oracle VM VirtualBox will pop up after installation, the path can be selected here, the author directly installs the default


watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvy29kzxjfcgln/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvy29kzxjfcgln/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">

The installation process will occasionally eject the installation of some devices form, which is the virtual machine in the installation of things, do not worry, all press the installation:



OK, after the installation, confirm that our genymotion will be executed.

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvy29kzxjfcgln/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">




How do I create an android emulator?

① executes the software will come to an interface, because it is the first time to use, so we need to create a new AVD:


Click Yes will come to select the AVD version number of the interface, because there is no device above, we need to connect to the official website

To obtain the various version number of the system and hardware devices, etc., click Connect below, enter the account we have activated password:

e-mail and password (the author may be a network problem, several consecutive times to succeed)



After successful login, the corresponding system and hardware devices can be selected: (Androidl is not supported at the moment)

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvy29kzxjfcgln/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">

This displays information about the device and can define the name of the emulator itself.


After setting the name, click Next to download the relevant program for the virtual device and the corresponding official SDK

(for example, the author is Naxus 4, the default is Android 4.2)



OK, the AVD has been created, then executed, and the boot is only more than 10 seconds, very good!

Super smooth operation Ah, there are wood?


Well, I believe you see here you are close to want to try, don't worry, we are used to develop, perhaps you will tangle how to let eclpise or

Programs written on Android Studio run on the simulator.



How to deploy the written code on Genymotion?

In fact, the question is white, and we're only going to be able to see the emulator currently executing on the eclpise device.

The feeling is actually almost the same as the real machine, we just have to execute the program and choose which device to execute on.



a few other minor problems:

① does not like the native system and wants to use the system version number in the Standard SDK

A: When downloading a device driver, you have actually downloaded the appropriate SDK, but if you don't like it, you can

Open Setting--adb--> Select the SDK path for eclpise

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvy29kzxjfcgln/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">


② Old login not?

Or can't get a list of phones:

A: Most of the reasons are to the wall, so only to use a VPN, but it seems to be able to day,

Although a bit slow, the evening words I tried n times are not download other version number of the device! Additional Login

No need to look at their account password whether there are errors Oh!


③ thinks the simulator is too big for the screen.

Answer: Turn off the simulator first, click the Wrench icon

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvy29kzxjfcgln/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvy29kzxjfcgln/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">



④ In addition, say one thing:

Just like Android studio, the same genymotion may appear incompatible or lag, abnormal end and other issues;

But please don't complain about something by the end of one or two times, we're all procedural apes, we're not market bargaining.

Aunt, the program has a bug is normal! With the usual heart! Besides, the hardware that the genymotion executes has a certain need.

Assuming that the memory is 2G below is not recommended (looks like 2G run 4.2 of the normal simulator has a little difficulty), and now

I believe most of the friends of the computer memory is more than 4g, so there should be no insufficient configuration of the problem!





PS: About Genymtion installation use here, the author here is simply to introduce the use of this genymotion method;

Do not like to spray, conditional words or suggest you use this simulator bar, personal use is free of charge, enterprises are expected to be charged;

Just enterprises have test machine =-=, nonsense on so many! Let's say you think the article is practical.

Your support is our power to write Bo support! Thank you



Update log:


① 2013.9.6: Problems encountered during use: (recorded)

The following error occurred while executing the program:

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvy29kzxjfcgln/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">


Workaround:

Download the following zip package, complete the download, drag it to the emulator form, click OK on the pop-up dialog, then restart the emulator!

Http://pan.baidu.com/s/1ntqOPYx




② 2014.10.15: Because the program needs to view the emulator's SDK folder:

Before that we found the SD card folder on Eclipse by Mmt/sdcard;

But Genymotion is not under this path: But in the following path:

/mnt/shell/emulated/0/

To be able to find it slowly based on the info below.


Android emulator--genymotion faster than the real machine

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.