VOOZH about

URL: https://www.javacodegeeks.com/2013/07/android-studio-with-android-alternative-emulatorgenymotion.html

โ‡ฑ Android Studio with android alternative emulator: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. In this post I will explain how to setup Android development environment using Android Studio and Genymotion. Everything is very easy.

What do you need?
 
 
 

  • Android Studio already installed
  • Oracle VM VirtualBox ( you can download it here)
  • Genymotion Android emulator (download it here)
  • Genymotion Android studio plugin

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:

๐Ÿ‘ Schermata 2013-06-30 alle 22.35.19[2]

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:

๐Ÿ‘ 2

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:

๐Ÿ‘ 3

Now you can run your Android project and you will find:

๐Ÿ‘ 4

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:

๐Ÿ‘ 5

Once you have configured it you can run your project:

๐Ÿ‘ 6

Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
6. Spring Interview Questions
7. Android UI Design
and many more ....
I agree to the Terms and Privacy Policy

Thank you!

We will contact you soon.

๐Ÿ‘ Photo of Francesco Azzola
Francesco Azzola
July 17th, 2013Last Updated: July 24th, 2013
6 254 1 minute read

Francesco Azzola

He's a senior software engineer with more than 15 yrs old experience in JEE architecture. He's SCEA certified (Sun Certified Enterprise Architect), SCWCD, SCJP. He is an android enthusiast and he has worked for long time in the mobile development field.
Subscribe

This site uses Akismet to reduce spam. Learn how your comment data is processed.

6 Comments
Oldest
Newest Most Voted
Vimal Rajpara
11 years ago

I used Genymotion emulator, there is no doubt that it is very fast then android default emulator but on other side it also consume much more memory of system and make system very slow ( on my development system).

Are you agree with me ?

0
Reply
Bob Koure
11 years ago

Nope, sorry., donโ€™t agree on the โ€œmake system slowโ€ or on โ€œconsume much more memoryโ€.
Getting a slowdown? Itโ€™s a virtual machine. Like all VMs you should either install it on your SSD, or, if you donโ€™t have space on that, or donโ€™t have an SSD, install it so itโ€™s on a different spindle (i.e. different hard drive) from your main one.
As far as memory goes, Iโ€™m seeing it take on the order of 0.7G. Surprised thatโ€™d be an issue on even a moderately modern machine.

0
Reply
11 years ago

i read many argument from other web, this emulator consume much memory, that very bad for pc used 2 GB of ram. now, i use bluestack for emulator but this emulator very slow on my laptop :( . whether there are other alternative for android emulator?

0
Reply
Nathanial
11 years ago

I checked this, and Genymotion only used about 1.3GB of RAM while Android Studio was using 1.4GB. With the total being 2.7GB of RAM, this shouldnโ€™t be a problem as an average laptop these days has 4GB of RAM. If you donโ€™t have 4GB of RAM, then you seriously need to upgrade.

0
Reply
Jorge
11 years ago

Hello, thank you for presenting this interesting setup!

I am actually trying to find an alternative emulator because my environment is a Windows EC2 AWS instance (Win Server 2012) and HAXM is not supported there.

Would you mind explaining why VirtualBox is needed in non Windows platforms? I need to understand if this could impact me since my environment is atypical.

0
Reply
TianLin
9 years ago

Hello, thank you for presenting this interesting setup!
I think It has an advantage of using virtual device rather than real device. In this case, genymotion is the best one, I think.

0
Reply
Back to top button
Close
wpDiscuz