Wednesday, May 8, 2013

[android help] Emulator response is very slow

android - Emulator response is very slow - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















Emulator in android is very slow and at times it is not responding as well. Does emulator performace is dependent on system configurations?


Is there any other way to view the android app output other than emulator? Kindly please suggest me as emulator is wasting most of my time.





























Yes, you can speed up the emulator by running the Atom x86 system images instead of the ARM ones (since those CPU instructions need to be translated and thus is slower). Read more here:


http://developer.android.com/tools/devices/emulator.html#accel-vm























The android emulator is slow, can't do much about it. However Intel HAX can speed up your emulator speed significanly. HAX must be installed from your android-sdk-direcotory/extrax/ Then setup your emulator to use the correct system-image. Take a look at intel-hardware-accelerated-execution-manager






















It is not a problem with your environment, it is just that the emulator is very slow.


Practically I use a real phone to do my tests. It is faster and tests are more realistic. But if you want to test your application on a lot of different Android versions and don't want to buy several phones, you will have to use the emulator from time to time.


The Android SDK now alows to use an x86-based Android emulator. See http://developer.android.com/tools/devices/emulator.html#accel-vm


Try Android x86. It's much faster than the Google Android emulator. Follow these steps:



  • Install VirtualBox.




  • Download the ISO file that you need.




  • Create a virtual machine as Linux 2.6/Other Linux, 512 Mb RAM, HD 2 GB. Network: PCnet-Fast III, attached to NAT. You can also use a bridged adapter, but you need a DHCP server in your environment.




  • Install Android x86 on the emulator, run it.




  • Press Alt+F1, type netcfg, remember the IP address, press Alt+F7.




  • Run cmd on your Windows XP system, change the directory to your Android tools directory, type adb connect .




  • Start Eclipse, open the ADT plugin, find the device, and enjoy!





















default






.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...