Emulator fails to launch API 24

Steps to reproduce error

  1. Create new virtual device.
  2. Download & select API level 24 (x86).
  3. Run GeoWorld program using toolbar button.

Expected results

Virtual device renders on screen.

Actual results

Event log output

11:57 PM	Emulator: emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3

11:57 PM	Emulator: Hardware-accelerated emulation may not work properly!

11:57 PM	Emulator: libGL error: unable to load driver: r600_dri.so

11:57 PM	Emulator: libGL error: driver pointer missing

11:57 PM	Emulator: libGL error: failed to load driver: r600

11:57 PM	Emulator: libGL error: unable to load driver: r600_dri.so

11:57 PM	Emulator: libGL error: driver pointer missing

11:57 PM	Emulator: libGL error: failed to load driver: r600

11:57 PM	Emulator: libGL error: unable to load driver: swrast_dri.so

11:57 PM	Emulator: libGL error: failed to load driver: swrast

11:57 PM	Emulator: X Error of failed request:  BadValue (integer parameter out of range for operation)

11:57 PM	Emulator: Major opcode of failed request:  156 (GLX)

11:57 PM	Emulator: Minor opcode of failed request:  24 (X_GLXCreateNewContext)

11:57 PM	Emulator: Value in failed request:  0x0

11:57 PM	Emulator: Serial number of failed request:  64

11:57 PM	Emulator: Current serial number in output stream:  65

11:57 PM	Emulator: Process finished with exit code 1

11:57 PM	Executing tasks: [:app:assembleDebug]

11:57 PM	Gradle build finished in 16s 824ms

Attempted fixes

  1. Created several different devices using many different APIs (same errors)
  2. Reinstalled via apt-get libstdc++6 (same errors)

System

  • ubuntu 16.04 (64bit)
  • AMD A4-3300M APU
  • android studio 3.0.1

Any advice? I feel I must be missing some dependency.

I think, your CPU does not support SSSE3. Maybe, you can try this,
AVD Manager > Create Virtual Device > select the one you want (then next)>Other Images,
you can select armabi-v7a in the ABI section. Maybe, this can be a solution.Or try another.
AMD CPU that support list for SSSE3

Thanks for your advice, however after trying several different arch/images I am still getting the same error. Honestly I thought it might have been something super simple like installing some package.

Luckily I have a spare phone, also I have once had genymotion working on a windows machine, perhaps I can try on this rig.

hmm, I heard of the genymotion. You are right. Maybe, this will work or you can check to use an ARM emulator.

I have similar experience. The error code is Intel HAXM is requried to run this AVD. My case is a brand new SAMSUNG laptop which is Win10 with Intel mcu, but the AVD is working. I try the haxm manager to do manual installation once without success. I then go search answer in web. One answer appears as to download the latest hasm manager to replace the built-in one. I have loaded “haxm_windows_V6_2_1_zip” from https://software.intel.com. Then I do again the manual installation and try the AVD manager. This time it works!