"Making the Android emulator run faster" 答案解释
"Making the Android emulator run faster" explanation of answer
在post
Making the Android emulator run faster
有答案:
Linux:
- 安装KVM:打开GOOGLE,写入"kvm installation "
- 使用 "Intel atom x86" CPU/ABI
创建 AVD
- 运行 来自命令行:emulator -avd
avd_name -qemu -m 512 -enable-kvm
- 或来自 Eclipse 的 运行:Run/Run
Configurations/Tab "Target" -> 检查 Intel x86 AVD 并在
"Additional Emulator Command Line Options" window 添加:-qemu -m 512
-enable-kvm (点击运行)
我正在使用 Ubuntu 16.04(以及 Oracle VM virtual box 和 Genymotion - 但不知道它是否重要),我可能已成功安装 KVM。虽然,我不明白下一部分:
使用 "Intel atom x86" CPU/ABI
创建 AVD
这是什么程序或命令?
AVD 表示 Android 虚拟设备。它们很可能意味着您在 Android Studio 中使用普通模拟器。
这是 link describes the process
基本上您有多个 AVD 图像可供选择,您必须选择一个具有 x86 CPU 而不是 ABI 列中的 ARM CPU 的图像。
在post Making the Android emulator run faster
有答案:
Linux:
- 安装KVM:打开GOOGLE,写入"kvm installation "
- 使用 "Intel atom x86" CPU/ABI 创建 AVD
- 运行 来自命令行:emulator -avd avd_name -qemu -m 512 -enable-kvm
- 或来自 Eclipse 的 运行:Run/Run Configurations/Tab "Target" -> 检查 Intel x86 AVD 并在 "Additional Emulator Command Line Options" window 添加:-qemu -m 512 -enable-kvm (点击运行)
我正在使用 Ubuntu 16.04(以及 Oracle VM virtual box 和 Genymotion - 但不知道它是否重要),我可能已成功安装 KVM。虽然,我不明白下一部分:
使用 "Intel atom x86" CPU/ABI
创建 AVD这是什么程序或命令?
AVD 表示 Android 虚拟设备。它们很可能意味着您在 Android Studio 中使用普通模拟器。
这是 link describes the process
基本上您有多个 AVD 图像可供选择,您必须选择一个具有 x86 CPU 而不是 ABI 列中的 ARM CPU 的图像。