我在 android 工作室中安装了 AMD processor.when i 运行 应用程序,它显示:

I have AMD processor.when i run app in android studio it shows:

emulator: ERROR: x86 emulation currently requires hardware acceleration!

Please ensure Intel HAXM is properly installed and usable.

CPU acceleration status: HAX kernel module is not installed!

在浏览一些论坛后发现关于 genymotion 的建议。但我想在 AMD 处理器上使用 android studio 模拟器。如果有人愿意提供帮助,将不胜感激。

确保您已安装 Intel X 86 Emulator 加速器(适用于 Intel 处理器的 Haxm 安装程序)或 ARM 系统映像 (AMD)。

然后进入[SDK文件夹路径]\extras\intel\Hardware_Accelerated_Execution_Manager和运行 intelhaxm-android.exe.

如果出现虚拟化技术未启用错误,请在 BIOS 设置中启用硬​​件虚拟化:http://www.sysprobs.com/disable-enable-virtualization-technology-bios

要让 AMD 处理器使用 genymotion,您需要启用 AMD-v CPU。 使用 Genymotion 会是更好的选择

如果你有AMD处理器,你可以下载支持AMD-V技术的Genymotion模拟器。 您需要启用 AMD-v

首先打开AndroidSDK管理器:工具->Android->SDK管理器,然后选择您要下载的包,展开它和 select ARM EABI v7a 系统ARM 64 v8a 系统映像并安装。

然后,打开Android AVD Manager:Tools -> Android -> AVD Manager 并创建一个模拟器。

您应该重新启动 Android Studio 以确保其正常工作