美文网首页
Android在Linux中开发问题随记

Android在Linux中开发问题随记

作者: 12eea2b6b4cd | 来源:发表于2017-03-21 23:28 被阅读0次

    安装篇

    在Emulator命令执行后报如下错误

    libGL error: unable to load driver: i965_dri.so
    libGL error: driver pointer missing
    libGL error: failed to load driver: i965
    libGL error: unable to load driver: swrast_dri.so
    libGL error: failed to load driver: swrast
    X Error of failed request:  GLXBadContext
      Major opcode of failed request:  154 (GLX)
      Minor opcode of failed request:  6 (X_GLXIsDirect)
      Serial number of failed request:  49
      Current serial number in output stream:  48
    libGL error: unable to load driver: i965_dri.so
    libGL error: driver pointer missing
    libGL error: failed to load driver: i965
    libGL error: unable to load driver: swrast_dri.so
    libGL error: failed to load driver: swrast
    X Error of failed request:  GLXBadContext
      Major opcode of failed request:  154 (GLX)
      Minor opcode of failed request:  6 (X_GLXIsDirect)
      Serial number of failed request:  49
      Current serial number in output stream:  48
    emulator: WARNING: encryption is off
    libGL error: unable to load driver: i965_dri.so
    libGL error: driver pointer missing
    libGL error: failed to load driver: i965
    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:  154 (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
    
    

    解决办法:

    链接系统的libstdc++.so.6到 emulator 下lib64/libstdc++/libstdc++.so.6即可解决
    

    相关文章

      网友评论

          本文标题:Android在Linux中开发问题随记

          本文链接:https://www.haomeiwen.com/subject/ojsnnttx.html