Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Is android SDK emulator by nature slow?

 
Greenhorn
Posts: 13
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got a question about the android SDK emulator. Its rally slow and its a royal pain. When I test thing on my phone. Then its fast and smooth. Is my emulator wrongly set up or is it slow.
 
Bartender
Posts: 1210
25
Android Python PHP C++ Java Linux
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ARM emulation is terribly slow for me too, even with Snapshot or host GPU enabled. You can try enabling host GPU and see if it improves the speed.

That's why I use x86 images for emulator whenever feasible; it's much faster since there's no emulation involved (assuming your CPU is x86).
 
Rancher
Posts: 43075
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could also try how fast running an actual Android build on a VM is: http://www.howtogeek.com/164570/how-to-install-android-in-virtualbox/ It might not be easy to get at logcat output, connect a debugger, etc. - I've never tried that.
 
Ranch Hand
Posts: 50
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I have noticed that when running an app on the Android SDK Emulator, the app runs really slow. where as when I run the app on a real device it runs really smooth. My only advice would be to run your app via a real android device.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Its slow and does not have expected speed.
 
Ulf Dittmer
Rancher
Posts: 43075
77
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jacob wilson wrote:Its slow and does not live up to expectation.


Care to elaborate on that? What were your expectations?
 
Christopher McKay
Ranch Hand
Posts: 50
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jacob wilson wrote:Its slow and does not live up to expectation.


I also agree, but to run a an emulator of android which is ARM (correct me if I am using the wrong name) on an x64/x86 machine is hard enough. Also, you would have to have a lot of processing power dedicated to it, which wouldn't be cheap, or you could buy an actual android device for around the same price, and run your app on that.
 
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic