Could not launch './qemu/linux-x86_64/qemu-system-i386': No such file or directory

前端 未结 10 1329
一向
一向 2021-02-18 13:42

With 25rc1 of the SDK tools I am having a problem when starting the emulators from $PATH

➜  ~  which emulator
/home/ligi/bin/android-sdk/tools/emulator
➜  ~  emu         


        
10条回答
  •  心在旅途
    2021-02-18 13:57

    I encounter this one in android studio 2.3 which use new path for the emulator so try the following:

    do not use emulator executable in the: sdk-path/tools/ directory but instead use the one found in the : sdk-path/emulator/

    and also remove or rename the emulator found in the sdk-path/tools directory.

    and because android sdk shipped with it's own libstdc++.so.6 you need to do the following to avoid the libGL error:

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

提交回复
热议问题