Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I am very new to android development.I have installed AVD and JAVA SDK and able to run my test application on Simulator also.
(As mentioned in the below link)
https://sites.google.com/site/barbarahohensee/android-development-on-ubuntu

But the issue is:It takes a long time to run on simulator. I am on my way to develop very few basic
pages with buttons and textBox and in last payment option. I dont want to run simulator every time I want to check GUI.
Please suggest.
Posted
Updated 24-Feb-14 16:27pm
v2

1 solution

Long ago I have tried the android emulator and it was hell slow. Here is why:
The android emulator runs on your x86/x64 machine and emulates the android device on hardware layer: It emulates an arm processor along with some other hardware features (like screen, input devices, ...). And to make things worse it used a software based old opengl 1 implementation compiled to arm machine code executed by the emulated arm hardware!!! This is a terribly slow solution. I haven't tried it but today there are x86 based android devices and the emulator also supports x86. If this is true along with the things that has been written on the android emulator site then it is possible to run an x86 emulator with hardware virtualization support but then you should use x86 target when you compile at least when you are debugging. Whether opengl is still hardware/software I don't know (if you use it at all) but even a software opengl would perform much better with this setup.

Check out how to setup an x86 virtual device: http://developer.android.com/tools/devices/emulator.html[^]
I haven't tried it but if the guys implemented x86 emulation well then it must have extremely fast (near to native) execution speed especially if you are developing on a good desktop machine (as long as your x86 desktop machine isn't an ancient one that doesn't support hardware virtualization).
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900