Run AVD Emulator without Android Studio

后端 未结 30 2018
不知归路
不知归路 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 18:08

    cd C:\Users\{computer_user_name}\AppData\Local\Android\Sdk\emulator
    

    then run:

    ./emulator -list-avds
    or
    emulator -list-avds
    

    output:

    PIXEL_2_API_29
    PIXEL_2_XL_API_29
    

    then run:

    ./emulator -avd PIXEL_2_XL_API_29
    or
    emulator -avd PIXEL_2_XL_API_29
    

    That's it

提交回复
热议问题