Skip to content

Instantly share code, notes, and snippets.

@ip
Created April 28, 2016 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ip/ee37c0391fa36df80f5469cc7916f350 to your computer and use it in GitHub Desktop.
Save ip/ee37c0391fa36df80f5469cc7916f350 to your computer and use it in GitHub Desktop.
/home/vanya/Android/Sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_5_API_23_x86
sh: 1: glxinfo: not found
sh: 1: glxinfo: not found
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
Hardware-accelerated emulation may not work properly!
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 33
Current serial number in output stream: 34
QObject::~QObject: Timers cannot be stopped from another thread
@ggfan
Copy link

ggfan commented Apr 28, 2016

thanks for update. sth about your cpu: VT/SSSE3. if you have time, you might look at this place:
https://software.intel.com/en-us/blogs/2012/03/12/how-to-start-intel-hardware-assisted-virtualization-hypervisor-on-linux-to-speed-up-intel-android-x86-emulator

if you cpu does not support it, there is no much you could [we had a ~$300 machine here too and it could not run emulator].
in your android device, uninstall endless tunnel from your phone/pad, see if that make any difference. the other sample Native-Activity could run on yours, right?

I will check the platform version in the app, and try to find a device of yours to replicate here.

@ip
Copy link
Author

ip commented Apr 28, 2016

Yes, I have AMD CPU, it supports virtualization but Android Emulator only works with Intel.
Just in case, I changed buildToolsVersion from 23.0.2 to 23.0.3 but I guess this shouldn't matter.

Uninstalling didn't help. native-activity runs fine.

@ggfan
Copy link

ggfan commented Apr 29, 2016

Ok, I got it from here: will let you know how it goes: will compare with native-activity to see what is the difference first. should be workable soon ( this is a lie from me :-))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment