Android Studio tutorial on this occasion will discuss a plug-in that is Genymotion which will be installed on Android Studio, so that later each application we have created will be run through this Genymotion plug-in that generates a virtual emulator that is very light and does not take up a lot of memory computer. Before I proceed any further this discussion I am convinced that the studio android editor you've run well there is no error message "classes not found", if there is then I suggest you to read my previous article I have discussed how to resolve the error message.
Android studio itself actually has its own virtual emulator, which was known by the name of the android virtual device (AVD) serves to undergo every application that we have made before the APK file used to avoid errors, but it turns out the studio android emulator default when on the run will take a lot of computer memory which makes it very slow when running. My experience using the default android AVD studio with computer memory capacity of 2 GB takes more than 15 minutes. Ideally we need a Smartphone based on Android to run applications that we have created.
Turns android studio has advantages to overcome than the default emulator that is by adding a plug-in named genymotion into the android studio editor. Before you add the plug-in genymotion into android studio, then you must install VirtualBox and Genymotion into your computer first. Download VirtualBox accordance with the operating system on the computer that you use via the official website here, the file has a size of about 105 MB and install. If already installed now you download genymotion via the website here, but before you download it, you are required to create an account first and then be able to download genymotion, remember when downloading customized with your computer operating system.
Run genymotion by clicking the shortcut on your desktop computer, so that later will appear a window genymotion for personal use such as the following.
From the windows of the genymotion for personal use, you can add a new virtual device by clicking the "add". Let's say I chose the default virtual device genymotion i.e. Custom Phone-5.0.0-API 21- 768x1280 which is inherited from the genymotion. To run it you click the "start" that will be out virtual device as shown below.
To open it you slide the key-shaped emblem on the virtual screen device. Later on we will test the emulator here or run any application that has been created. Up here I hope you've managed all installed VirtualBox and also genymotion, and then we will add plug-in genymotion into the android studio editor. Open android studio first, then from the file menu you select settings.
From the settings window you click on the plug-in and then click the Browse button repositories.
In the search field you type "genymotion" and then click on the install button plug-in. When the dialogue "would you like to download and install the plug-in genymotion?" You select yes.
It will automatically download and install the plug-in genymotion, if it is completed it will appear on the toolbar of your studio android plug-in genymotion as follows.
To run device manager genymotion you click on the toolbar in the studio android so there will appear a window genymotion device manager as follows.
Select the virtual device you created earlier and then you click the start button. Up here if genymotion not want to go then first you run VirtualBox.
That's how to install the plug-in genymotion into the studio where the android with the plug-in, then you do not have too long to wait when you want to run an application that's been made. Got here first article how to install the plug-in on android studio, hopefully can provide benefits for those who want a lightweight virtual device.
Note:
If when you run the first time there genymotion dialog box "configure the Android SDK location" then you select "NO".
0 comments:
Post a Comment