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

前端 未结 10 1304
一向
一向 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: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.

提交回复
热议问题