Run AVD Emulator without Android Studio

后端 未结 30 2055
不知归路
不知归路 2020-11-28 17:39

is there a way to run the emulator without starting the Android Studio first. Perhaps from the command line. I know that this feature was available in older versions and has

30条回答
  •  感动是毒
    2020-11-28 17:54

    to list the emulators you have

    ~/Library/Android/sdk/tools/emulator -list-avds
    

    for example, I have this Nexus_5X_API_24

    so the command to run that emulator is

    cd ~/Library/Android/Sdk/tools && ./emulator -avd Nexus_5X_API_24
    

提交回复
热议问题