我是Android开发新手,从React Native开始。无法在HAXM中的Android Studio中启动AVD
通过intelhaxm-android.exe改变RAM空间大小1.5GB并运行AVD后其没有工作,我得到这个
`>"C:\Program Files\Android\android-sdk\tools\emulator.exe" -netdelay none -netspeed full -avd Nexus_5_API_23`
`>emulator: WARNING: Requested RAM size of 1536MB is too large for your environment, and is reduced to 1152MB.`
`>emulator: device fd:784`
`>HAXM is working and emulator runs in fast virt mode`
`>Cannot set up guest memory 'pc.ram': Invalid argument`
怎么做呢?
谢谢。 ;)
我使用Android的工作室只是为了仿真器。我曾尝试安装Genymotion,但VM盒未能正常工作,显示关于内核的错误。所以我转而使用Android Studio。除了Andoid Studio以外,是否还有其他解决方案可以模拟Android设备? –
@Hiren,我觉得AVD是最简单的。但那只是我。您不需要明确指定Android Studio来使用AVD。他们是不同的东西。您也可以使用终端/命令行运行AVD。点击按钮即可通过Android Studio触发AVD,或通过GUI创建新的AVD。但就是这样。您需要运行模拟器的重要事情是更多的RAM,无论是原生AVD还是Genymotion等任何第三方。你的系统配置是什么? –