How can I get more information about “Waiting for target device to come online” in Android Studio?

后端 未结 3 852
隐瞒了意图╮
隐瞒了意图╮ 2020-12-19 15:15

I run Android Studio 2.3 on Ubuntu 16.10 without any devices attached. When selecting Run > Run \'app\' to run the app inside an emulated device, I get to see the following

3条回答
  •  感动是毒
    2020-12-19 15:21

    The solution showed above:
    //Double Check to see if these are available

    $ sudo apt-get install lib64stdc++6:i386
    
    $ sudo apt-get install mesa-utils
    

    //Navigate to the ~/Android/Sdk/emulator/lib64 folder

    $ mv libstdc++/ libstdc++.bak
    
    $ ln -s /usr/lib64/libstdc++.so.6 libstdc++
    

    Should work for this errors:

    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: 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: 155 (GLX)
        Minor opcode of failed request: 6 (X_GLXIsDirect)
        Serial number of failed request: 55
        Current serial number in output stream: 54

提交回复
热议问题