Run AVD Emulator without Android Studio

后端 未结 30 2002
不知归路
不知归路 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:00

    (Only for Windows) Why to torture yourself? Make a Simple BAT file ! :

    1. Open Notepad
    2. Create the command as shown below
    3. Save as *.bat
    4. (Optional) Create a shortcut to that *.bat, rename shortcut and change icon

    Here is the command:

    cd /d yourSdkPath\emulator && emulator -avd yourAVDName

    Example:

    cd /d D:\Android_SDK\emulator && emulator -avd Nexus_5_API_28

提交回复
热议问题