Cannot start Emulator in android studio 2.0

前端 未结 14 2329
渐次进展
渐次进展 2020-12-02 05:11

I just upgraded my android studio from 1.5 to 2.0.And now I am facing some weird bug when I try to start Emulator. I use Ubuntu 15.10 OS

Android monitor returns this

14条回答
  •  时光说笑
    2020-12-02 05:45

    Same problem for me on Ubuntu 16.04 LTS x64 with :

    • Android Studio 2.2.3
    • Android SDK Tools 25.2.4
    • Emulator version 25.2.4-3534729 (From Emulator > Extended Controls > Help > About)

    My graphic card is an AMD/ATI Radeon and I read from this thread on Android Open Source Project - Issue Tracker that :

    The root cause of the problem is likely that the Radeon GL driver library requires a more recent libstdc++.so than the one bundled with the emulator.

    Here's how I fixed the problem :

    1. Install lib64stdc++6

      $ sudo apt-get install lib64stdc++6:i386   
      
    2. Install mesa-demos

      $ sudo apt-get install mesa-utils
      
    3. Move libstdc++.so.6 out of the way by renaming it to libstdc++.so.6.bak

      $ cd ~/$ANDROID_HOME/Android/Sdk/tools/lib64/libstdc++
      $ mv libstdc++.so.6 libstdc++.so.6.bak
      

提交回复
热议问题