You don't need to have SDL_VIDEODRIVER defined in your environment, the emulator will by default try to find the X11 libraries on your system and use them (then an error means that the libraries are not properly installed or reachable by the application. this may be possible to installation oddities on mixed 32/64 bit systems).
A good way to check this is to use "strace emulator" to see which files/libraries the program is trying to open (it uses dlopen/dlsym to do that) A long time ago, someone reported a similar issue. the problem came from the fact that they had SDL_VIDEODRIVER=directfb in their environment. This variable is normally used to direct the SDL library to use a specific video driver. But the one that comes with the Android emulator (statically linked to it for ease of deployment) only supports X11. hope this clarifies :-) On Wed, Jan 14, 2009 at 10:46 AM, Anri Lau <[email protected]> wrote: > All, > > Thank you Dave. I guess I did not set SDL_VIDEODRIVER. Could you show me > where I can found the instruction to set the building environment? > > I have no any idea of how to start. > > > 2009/1/14 David Turner <[email protected]> > >> hmmm. do you have SDL_VIDEODRIVER defined in your environment ? >> >> On Tue, Jan 13, 2009 at 1:18 PM, superspider <[email protected]> wrote: >> >>> >>> When I run android-sdk-linux_x86-1.0_r2/tools/emulator on linux-centos >>> it happened. >>> >>> >>> >>> >> >> >> > > > -- > Best regards to you and your family > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

