ubuntu 14.04中的android模拟器[xcb]错误

时间:2014-06-07 12:50:55

标签: android bash ubuntu-14.04

我最近安装了Ubuntu 14.04,我试图让Android模拟器启动它。之前还有另一个问题:它抱怨它无法找到libGL.so。所以我运行了以下命令,该错误已经解决:

sudo apt-get install libgl1-mesa-dev

但在此之后我收到以下错误:

[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.

搜索显示它与c线程相关,但我不知道如何修复它。 任何建议表示赞赏。感谢。

1 个答案:

答案 0 :(得分:6)

我认为这是一个权限问题,如果只是将sdk的文件夹放在主硬盘上并用

更改文件夹的权限就足够了
chmod -R +x android-sdk-linux