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

前端 未结 10 1301
一向
一向 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 14:08

    Make sure that ANDROID_EMULATOR_FORCE_32BIT is not set in your environment

    0 讨论(0)
  • 2021-02-18 14:09

    yah my dns is blocked in the region i am visiting so i was searching for a way to add dns servers and start emulator at command line. default emulator in path did not work. instead go to your android SDK home and you'll see a emulator in there. use that emulator executable like this:

    emulator -avd Nexus_5X_API_26 -dns-server 8.8.8.8,208.67.222.222,199.85.126.10,8.8.4.4
    

    i think you can give 4 dns's. anyway this is a side note. back to the issue:

    people here did not mention much that you need the -avd flag with it. wanted to point that out.

    0 讨论(0)
  • 2021-02-18 14:09

    If you're launching the emulator from command-line, try setting the current directory to your android sdk "tools" folder first.

    This works for me as a workaround:

    pushd ${ANDROID_HOME}/tools
    emulator -avd ${EMULATOR_NAME} -wipe-data&
    popd
    
    0 讨论(0)
  • 2021-02-18 14:09

    This one works for me on MacOS Sierra.

    Preference -> Appearance & Behavior -> System Settings -> Android SDK -> SDK Tools (tab)

    Tick on Android Emulator and Apply

    0 讨论(0)
提交回复
热议问题