正在启动 Android 模拟器

Initiating Android Emulator

有没有什么方法可以在不打开 Android Studio 或任何代码编辑器的情况下 运行 android 模拟器? 我通过固定应用程序进行了尝试,但没有成功。

我正在使用 Windows 10

你可以运行

C:\Users\<user>\AppData\Local\Android\sdk\emulator\emulator.exe -avd <avd-name>

假设 <avd-name> 是之前创建的 AVD 的名称。

查看更多命令行选项here

我们可以在没有android studio 的情况下使用命令行工具使用模拟器来启动模拟器。 Documentation link here

<SDKLocation>\emulator\emulator.exe -avd <avd-name>

您可以在 avd 名称中包含不同的参数。