I am trying to set up the Android dev environment on Lubuntu, but I keep getting this error when loading the emulator:
⇒ ./emulator-x86 -avd test libGL error: failed to load driver: i965 libGL error: Try again with LIBGL_DEBUG=verbose for more details. emulator: warning: opening audio output failed
When I run it with LIBGL_DEBUG = verbose, I get:
⇒ ./emulator-x86 -avd test libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/i965_dri.so libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/i965_dri.so libGL error: failed to open drm device: Permission denied libGL error: failed to load driver: i965 libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so libGL: Can't open configuration file /home/facetoe/.drirc: No such file or directory. libGL: Can't open configuration file /home/facetoe/.drirc: No such file or directory. libGL: Can't open configuration file /home/facetoe/.drirc: No such file or directory. libGL: Can't open configuration file /home/facetoe/.drirc: No such file or directory. emulator: warning: opening audio output failed
The emulator is very slow and uses about 80% of my processor. Has anyone come across this or had any suggestions to make it work?
Edit: Well, I might have figured this out. It turns out I had to add myself to the video group, log out and log back in. Also, I had to run export LD_LIBRARY_PATH=/home/facetoe/programs/adt-bundle-linux-x86_64-20131030/sdk/tools/lib . This seems to be fixed, although I still get the error message ...
android eclipse linux
facetoe
source share