Run AVD Emulator without Android Studio

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

    1. Just create a .bat file. Call it smth like "run pixel 2.bat"
    2. Open it with editor like Notepad++
    3. Write 2 lines of code
    cd C:\Users\mxsof\AppData\Local\Android\Sdk\emulator 
    emulator -avd pixel_2_api_29
    
    1. Launch it.

    That's all. Happy coding!

提交回复
热议问题