简体   繁体   中英

android emulator [xcb] error in ubuntu 14.04

I've recently installed Ubuntu 14.04 and i'm trying to get the android emulator started in it. It had another problem before: it was complaining that it can't find libGL.so . so I ran the following command and that error was solved:

sudo apt-get install libgl1-mesa-dev

But right after that I get the following error:

[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
emulator64-arm: ../../src/xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.

A search revealed that it's c thread related but I have no idea how to fix it. Any suggestion is appreciated. thanks.

我认为这是一个优先考虑的问题,是否足以将sdk的文件夹放在主硬盘上并使用

chmod -R +x android-sdk-linux

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM