Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Windows 10 如何使用 Android 模擬器?Visual Studio Emulator for Android + Hyper-V 完整設定

編輯:Windows 10 系統介紹

在 Win 10 跑 Android 模擬器推薦微軟官方 Visual Studio Emulator for Android,效能優於傳統 HAXM 方案,完整設定流程:

1. 啟用 Hyper-V

控制台 → 「程式和功能」→ 「啟用或關閉 Windows 功能」→ 勾選 Hyper-V 全部子項 → 確定 → 重開機。

2. 安裝模擬器

下載 vs_emulatorsetup.exe (約 40 MB) 安裝,預設線上下載 API 19 (Android 4.4) x86 映像,安裝完成**必須重開機**(自動加入 Hyper-V Administrators 群組)。

3. 設定 Android Studio 連接模擬器

Android Studio → Run → Edit Configurations → Defaults/Android Application/General → Target Device 勾選 Show chooser dialog 與 Use same device for future launches → Apply/OK。

4. 為 Android Studio 加入啟動模擬器快捷按鈕

File → Settings → External Tools → Add:
Name: 自訂 (如 VS Emulator (4.4 API 19))
Program: 模擬器執行檔路徑
Parameters: 對應裝置 ID
Working directory: 模擬器安裝目錄

此模擬器獨立於 Visual Studio,支援 Android Studio 透過 ADB 連接,效能強勁、相容性佳。

Copyright © Windows教程網 All Rights Reserved