android emulator

dettus

Bicycle User
i had some issues with running the emulator on my pc.
after the eclipse window "Starting emulator for AVD 'xxx'" openend up, nothing happened.

i was frustrated.
so what i did was running the emulator from the command line
Code:
% WHEREEVER YOU PUT THIS/android-sdk-linux/tools/emulator -avd xxx
(where xxx is the name of the virtual machine, without the .avd ending)
"segmentation fault".
of course.
i tried it with

Code:
% WHEREEVER YOU PUT THIS/android-sdk-linux/tools/emulator -verbose -avd xxx

and then it crashed after "OpenGLES" stuff. misleading.

what solved my problem was this
Code:
% WHEREEVER YOU PUT THIS/android-sdk-linux/tools/emulator -force-32bit -avd xxx

yay!
a virtual cellphone.

since i was not able to find a proper way of adding the command line parameter -force-32bit to eclipse, i simply moved away the emulator64-* files as a workaround.

Code:
% cd WHEREEVER YOU PUT THIS/android-sdk-linux/tools/
% mkdir backup
% mv emulator64-* backup
% ln emulator-arm emulator64-arm
% ln emulator-mips emulator64-mips
% ln emulator-x86 emulator64-x86

a quick check
Code:
% WHEREEVER YOU PUT THIS/android-sdk-linux/tools/emulator -avd xxx

later, i reopened eclipse, reopened the android virtual device manager, clicked on "Start" aaaand i saw a virtual smartphone booting up.



keywords: eclipse android avd emulator ubuntu 12.04
 
Zurück
Oben