4

I have a nice PC Desktop that I run all my development applications, Visual Studio, SQL Server instance running, Eclipse, Spring Eclipse etc... everything is fairly fast.

But when I run a simple, little, empty android hello world app, it takes literally 3 or more minutes for the Android get started!!! I don't believe I am the only one experiencing that? I don't want to run in the device every single time... usually it is handy run in the emulator just like I do with XCode to IPhone simulator...

any experience with that? solution tips?

thanks

RollRoll
  • 8,133
  • 20
  • 76
  • 135
  • Have you tried using the new x86 system images? – draksia Sep 21 '12 at 19:37
  • See [this thread](http://stackoverflow.com/questions/1554099/slow-android-emulator) for tips. It has to do with how emulation works, not the speed of the unit you're running it on. – Cat Sep 21 '12 at 19:37
  • The emulator is really slow to start up but if you leave it up it is pretty quick to push new builds to it. Just out of curiosity, why don't you want to run on the device? With Android it's easier than running in the emulator. You just plug your device in with a USB cable and hit the play button. Nothing at all like Xcode and iPhone! – CaseyB Sep 21 '12 at 19:39
  • possible duplicate of [Android Emulator is so slow that it is unusable](http://stackoverflow.com/questions/5204724/android-emulator-is-so-slow-that-it-is-unusable) – NickT Sep 21 '12 at 19:40
  • I don't think this should be closed since the threads you sent me are unanswered, I want to actually mark this thread as answered once I find a solution that works for me, that might also be helpful for other users instead of creating another line of discussion about the subject. – RollRoll Sep 21 '12 at 19:59
  • look at this question http://stackoverflow.com/q/1554099/779408 – Bob Jan 26 '13 at 06:01

4 Answers4

2

You can use android-x86 (helpful post). x86 port works faster than emulator, but I recommend use a real device to avoid emulator-specific problems.

Mikalai Daronin
  • 8,590
  • 2
  • 35
  • 47
1

The Android emulators, especially the older ones, are notoriously slow. This is because they not only have to run an OS in an OS, but they must also emulate an ARM processor Architecture, on a x86 or x64 processor. This makes them rather slow.

However, you do get Intel images for ICS, which are built for x86 and run faster. You could also try using the older emulators. They got progressively slower upto honeycomb. You could also try increasing the emulator RAM and get a minor speed boost.

Other than that, you could leave the emulator running once started, as then it's much faster to test your apps, since you don't need to start it up everytime.

However, I would personally recommend testing on a device, as you will never get the same quality and accuracy in debugging on an emulator.

Raghav Sood
  • 81,899
  • 22
  • 187
  • 195
1

There is an Android emulator called Bluestacks that you can use for apps as well. It is less for development and more for playing Android games on your PC, but if you don't mind testing your app in a non-standard launcher environment then it is super fast.

You can even use it for debugging and access DDMS from Eclipse as well by following these steps:

  1. Open Bluestacks
  2. In your 'platform-tools' folder in command prompt, type "adb connect 127.0.0.1"
  3. Try to run your app or debug from Eclipse and you should see a new device listed for Bluestacks.

It doesn't have the same type of hardware/environment emulation that the normal emulator does, so it will not be appropriate for testing all apps, but I use it whenever I can because the normal emulator is such a headache.

Dave
  • 1,250
  • 1
  • 16
  • 32
1

So far, there is no solution for that...I have to buy a nexus to run my apps to make the development viable

RollRoll
  • 8,133
  • 20
  • 76
  • 135