gpt4 book ai didi

android - 模拟器没有运行

转载 作者:太空宇宙 更新时间:2023-11-03 11:33:39 24 4
gpt4 key购买 nike

我已经使用 api 16 创建了一个与 map 相关的应用程序,一旦运行此应用程序就会弹出此错误。

      [2012-10-18 20:05:26 - Maps] Android Launch!
[2012-10-18 20:05:26 - Maps] adb is running normally.
[2012-10-18 20:05:26 - Maps] Performing com.example.maps.MainActivity activity launch
[2012-10-18 20:05:29 - Maps] Launching a new emulator with Virtual Device 'andi'
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] Failed to create Context 0x3005
[2012-10-18 20:05:38 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-18 20:05:38 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2012-10-18 20:05:38 - Emulator] emulator: WARNING: Requested RAM size of 1024MB is too large for your environment, and is reduced to 768MB.
[2012-10-18 20:05:38 - Emulator] Failed to allocate memory: 1455
[2012-10-18 20:05:38 - Emulator]
[2012-10-18 20:05:38 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-10-18 20:05:38 - Emulator] Please contact the application's support team for more information.

当我使用 api 14 运行此应用程序时它可以工作,但它不适用于 api 15 和 16

最佳答案

我将虚拟设备的 VM 堆更改为更高的值 - 这为我解决了崩溃问题。现在的值为:10.1"WXGA 1280 x 800、Android 4.1.2、Intel Atom、Ram 1024、VM Heap 128、内部存储 300 MB、SD 300 MB此外,我更改了eclipse.ini中内存的启动设置,但我不确定这是否与问题有关。

关于android - 模拟器没有运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12957309/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com