Ubuntu: Desktop 14.04 (64-bit) VirtualBox: Version 5.0.16 r105871 Android SDK: 24.4.1
I am trying to get Android Emulator running on Ubuntu 14 (Trusty Tahir).
- I first downloaded and installed Ubuntu 14 in a new Virtualbox VM.
- Downloaded and installed OpenJDK (apt-get openjdk-7-jdk).
- Downloaded and untar-ed the android sdk archive.
- Navigated to android-sdk-linux/tools/ and ran ./android
- Android SDK manager, pulled SDK build revision 19 (for Android 4.x) and 23 (for Android 6).
- After all the packages have been downloaded and installed, i launch Android SDK Manager once more, and click Tools > AVD Manager.
- Created a new Nexus5 / Google Nexus AVD. Click 'Start'.
This is when I see the following errors:
Starting emulator for AVD 'AspectClass'
pci id for fd 5: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
pci id for fd 8: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
emulator: WARNING: The -scale flag is obsolete and will be ignored.
My research into a couple of these errors like the core dri/dri2 lead me to resources that indicate this might have something to do with 3D acceleration setting in Virtualbox. This does not apply to my case since I have 3D acceleration setting disabled.
Any help would be appreciated.