Cannot start Emulator in android studio 2.0

前端 未结 14 2337
渐次进展
渐次进展 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:44

    Verify that you have installed in your system lib64stdc++6

    With a 32 bits operating system :

    # apt-get install lib64stdc++6
    

    With a 64 bits operating system with multiarch enabled :

    # apt-get install lib64stdc++6:i386
    

    Then link the new installed libraries to the android sdk tools path

    $ cd $ANDROID_HOME/android-sdk-linux_x86/tools/lib64/libstdc++
    $ mv libstdc++.so.6 libstdc++.so.6.bak
    $ ln -s /usr/lib64/libstdc++.so.6 $ANDROID_HOME/android-sdk-linux_x86/tools/lib64/libstdc++
    

    EDIT: in 15.10 x64 with current Sdk (23), the folder is $ANDROID_HOME/Sdk

提交回复
热议问题