Android Studio with alternative emulator:Genymotion

In this post I will explain how to setup Androiddevelopment environment using Android Studio and Genymotion.
Moving from Eclispe/ADT to Android Studio I was exploring some alternative configuration to improve my building environment. I came across a nice Android device emulator called Genymotion. I find it very interesting and really fast so that I decided to use it as my device emulator. Everything is very easy.
What do you need?

Installing Oracle VM VirtualBox

If you use Windows platform you have everything in your download otherwise you have to download the VM VirutalBox by yourself and install it. The process is very straightforward so I won’t go into the details. This step is necessary otherwise the Android Emulator won’t start.

Installing Genymotion Android device emulator

The first thing you have to do is creating a free account so that you can download the emulator. You can choice among different platforms, in my case I selected Mac OS X. Once you have downloaded it and installed it you have something like that:
Where you can have different emulator available. You select one and download it from the net. At the end you have your emulator ready to run:

Installing Android Studio Plugin

In order to integrate the development tool with the emulator you have to install a plugin for Android Studio. Go to Preferences and look for Plugin the search box. Then you add the plugin you have already downloaded and you have:
Now you can run your Android project and you will find:
The emulator is completely integrated in your development tool.The first time you run the emulator you can find an alert asking the Android SDK installation path:
Once you have configured it you can run your project:

About The Author

I'm an electronic engineer with over 15 years of
experience in computer programming. I'm the author of the book "Android things projects". I'm a MVB at DZone and DZone Guide Author. I have contributed to the IoT guide. I'm the technical reviewer of the book Internet of Things with Arduino Blueprints(published by PacktPub). I love creating IoT projects using Arduino, Raspberry Pi,
Android, and other platforms. I am interested in the convergence
between IoT and the mobile applications. I'm SCEA, SCWCD, and SCJP
certified.
Follow on: Twitter | Linkedin

markheadson

Thanks, but I found some differences from my configuration:

-) The genymotion plugin must be installed from repository in IDE configuration

Sign up for our Newsletter

Enter your email and stay on top of things,

Get SwA updates delivered to your inbox. Article, tips, source code

×

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.