Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/56.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android emulator无法启动_Android_Emulation_Adb - Fatal编程技术网

android emulator无法启动

android emulator无法启动,android,emulation,adb,Android,Emulation,Adb,当我启动一个新的模拟器时,会出现以下情况: Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. 无法分配内存:8 此应用程序已请求运行时以异常方式终止它。 有关更多信息,请联系应用程序的支持团队。 如

当我启动一个新的模拟器时,会出现以下情况:

Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. 无法分配内存:8 此应用程序已请求运行时以异常方式终止它。 有关更多信息,请联系应用程序的支持团队。 如何修复?

博客建议您降低分配给AVD的RAM量。

这表明当您使用过多RAM时会出现此问题。

正如我在这里提到的:


我可以通过“以管理员身份”运行AVD来修复此错误,因此我认为此错误与文件系统权限有关,或者与此相关。

我只使用RAM的默认设置。这是怎么发生的?我只是使用RAM的默认设置。这是怎么发生的?您的计算机中有多少RAM,有多少分配给AVD?你有没有试着降低它,看看它是否能解决问题?如何知道我的电脑有多少内存?呵呵,原谅一个笨蛋@格伦登·特鲁林格拉姆/记忆。。。如果运行Windows,则可以运行dxdiag进行检查。只要试着将AVD使用的RAM降低到256MB或比当前更小的数字,看看是否有帮助。在我的模拟器上,没有“默认”内存量。我解决了这个问题。它取决于eclipse设置
-Xms128m-Xmx512m