Ubuntu16.10 模拟器无法启动
来源:互联网 发布:js字符串截取方法 编辑:程序博客网 时间:2024/06/06 07:09
在Ubuntu16.10 上启动Android 自带的模拟器报错错误信息如下:
/opt/androidsdk/tools/emulator -netdelay none -netspeed full -avd Android_TV1080_22libGL error: unable to load driver: i965_dri.soNote: The environment variable $ANDROID_SDK_HOME is set, and the emulator uses that variable to locate AVDs.This may result in the emulator failing to start if it cannot find the AVDs in the folder pointed to by thegiven environment variable.ANDROID_SDK_HOME=/opt/androidsdklibGL error: driver pointer missinglibGL error: failed to load driver: i965libGL error: unable to load driver: i965_dri.solibGL error: driver pointer missinglibGL error: failed to load driver: i965libGL error: unable to load driver: swrast_dri.solibGL error: failed to load driver: swrastX Error of failed request: GLXBadContext Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 55 Current serial number in output stream: 54libGL error: unable to load driver: i965_dri.solibGL error: driver pointer missinglibGL error: failed to load driver: i965libGL error: unable to load driver: i965_dri.solibGL error: driver pointer missinglibGL error: failed to load driver: i965libGL error: unable to load driver: swrast_dri.solibGL error: failed to load driver: swrastX Error of failed request: GLXBadContext Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 55 Current serial number in output stream: 54libGL error: unable to load driver: i965_dri.solibGL error: driver pointer missinglibGL error: failed to load driver: i965libGL error: unable to load driver: i965_dri.solibGL error: driver pointer missinglibGL error: failed to load driver: i965libGL error: unable to load driver: swrast_dri.solibGL error: failed to load driver: swrastX 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: 39 Current serial number in output stream: 40QObject::~QObject: Timers cannot be stopped from another thread
百度直译 如下:
- /选择/ SDK /工具/模拟器- netdelay非netspeed全AVD android_tv1080_22libgl错误:无法加载驱动程序:i965_dri.so注:环境变量$ android_sdk_home设置和模拟器使用变量来定位AVDs。这可能会导致模拟器无法启动如果它不能在文件夹中查找AVDS指出的给定环境变量。android_sdk_home = /选择/ SDKlibgl错误:驱动指针丢失libgl错误:无法加载驱动程序:i965libgl错误:无法加载驱动程序:i965_dri.solibgl错误:驱动指针丢失libgl错误:无法加载驱动程序:i965libgl错误:无法加载驱动程序:swrast_dri.solibgl错误:无法加载驱动程序:swrast失败的请求X错误:GLXBadContext失败的请求大码:155(GLX)失败的请求小码:6(x_glxisdirect)失败的请求的序列号:55当前序列号在输出流:54libgl错误:无法加载驱动程序:i965_dri.solibgl错误:驱动指针丢失libgl错误:无法加载驱动程序:i965libgl错误:无法加载驱动程序:i965_dri.solibgl错误:驱动指针丢失libgl错误:无法加载驱动程序:i965libgl错误:无法加载驱动程序:swrast_dri.solibgl错误:无法加载驱动程序:swrast失败的请求X错误:GLXBadContext失败的请求大码:155(GLX)失败的请求小码:6(x_glxisdirect)失败的请求的序列号:55当前序列号在输出流:54libgl错误:无法加载驱动程序:i965_dri.solibgl错误:驱动指针丢失libgl错误:无法加载驱动程序:i965libgl错误:无法加载驱动程序:i965_dri.solibgl错误:驱动指针丢失libgl错误:无法加载驱动程序:i965libgl错误:无法加载驱动程序:swrast_dri.solibgl错误:无法加载驱动程序:swrast失败的请求X错误:BadValue(整数的参数范围内运行)失败的请求大码:155(GLX)失败的请求小码:24(x_glxcreatenewcontext)在失败的请求值:0x0失败的请求的序列号:39当前序列号在输出流:40QObject::~ QObject:定时器不能阻止另一个线程
sudo apt-get install lib64stdc++6
进入tools/lib64/libstdc++ 文件夹
cd $ANDROID_SDK_HOME/tools/lib64/libstdc++
备份已有的libstdc++.so.6 文件
mv libstdc++.so.6 libstdc++.so.6.bak
对刚刚装的库文件 创建软连接
ln -s /usr/lib64/libstdc++.so.6 $ANDROID_HOME/Sdk/tools/lib64/libstdc++
最后启动模拟器 ok 搞定。
0 0
- Ubuntu16.10 模拟器无法启动
- ubuntu16.04 Android Studio 模拟器无法启动
- Ubuntu16.04下Android studio 模拟器无法启动的解决方法
- android模拟器无法启动
- Android模拟器无法启动
- 无法启动android模拟器
- android 模拟器无法启动
- Android模拟器无法启动
- Eclipse无法启动模拟器问题
- andriod studio 模拟器无法启动
- 修复iOS模拟器无法启动
- 无法启动Android模拟器解决方法
- android 模拟器无法启动问题解决
- AndroidStudio无法启动模拟器问题
- Android Studio 无法启动模拟器
- AndroidStudio无法启动模拟器也无法调试
- AndroidStudio无法启动模拟器也无法调试
- AndroidStudio无法启动模拟器也无法调试
- cocos2d-js中Hello World代码分析
- 使用专业二进制包仓库Artifactory,实现持续交付
- C# continue 语句的使用
- (转)Android Studio如何安装插件
- 342. Power of Four
- Ubuntu16.10 模拟器无法启动
- 485. Max Consecutive Ones
- ICMP协议简介
- leetcode 476. Number Complement
- UVA 10881
- web打印table,每页都显示表头
- jquery 如何遍历json 方法规结
- 数据挖掘竞赛,算法刷题网址汇总
- Ajax发送异步请求的完整过程