2012-10-18 36 views
3

一旦運行這個應用程序,我就創建了一個與使用api 16的地圖相關的應用程序,這個錯誤會彈出。模擬器沒有運行

 [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它的工作原理是應用,但它不是由在AVD的喜好將其設置爲關閉或加入-gpu off來工作API 15和16

+0

你在虛擬機上運行它嗎? –

回答

1

禁用GPU仿真命令行

+0

嘗試過但不能正常工作.. –

0

轉到您的AVD管理器,選擇你要使用和更改目標下拉到AVD「谷歌的API(谷歌公司) - API級別16」。然後保存並重新啓動。

+0

如果您沒有看到「Google API(Google Inc.) - API Level 16」,您將需要使用SDK管理器下載它。 – petey

+0

是的,我已經做到了這一點,但沒有爲我工作。我在我的系統和512 MB 9600GT顯卡上安裝了igb ram。所以這可能是因爲內存很低。 –

+0

哦,是的,你需要爲你的電腦購買莫爾RAM。 – petey

7

我將虛擬設備的VM堆更改爲更高的值 - 這爲我解決了崩潰問題。 現在這些值爲:10.1「WXGA 1280 x 800,Android 4.1.2,Intel Atom,Ram 1024,VM堆128,內部存儲300 MB,SD 300 MB 此外,我更改了內存的啓動設置eclipse.ini,但我不確定這是否與問題有關

7

好吧我知道這對你來說太晚了,但它可能會幫助其他人,我嘗試了所有的解決方案,但沒有工作我

谷歌使我在這裏 http://code.google.com/p/android/issues/detail?id=33336 給出的解決方案爲許多,但不適合我。我包括在這裏,因爲也許你會幫助

openGL的在錯誤的文件夾: \工具,而不是\工具\ LIB 將以下文件複製到Tools文件夾

libEGL_translator.dll 
libGLES_CM_translator.dll 
libGLES_V2_translator.dll 
libOpenglRender.dll 

但是使用「扎卡里的技術」在文章 結束對於那些誰不能得到這個工作。 進入Process Monitor(http://technet.microsoft.com/en-us/sysinternals/bb896645)。添加過濾器「程序名稱」 +「包含」 +「仿真」: *啓動捕獲 *火起來的模擬器 *等到你失敗的消息 *停止捕獲

搜索(CTRL + f)捕獲未能加載的其中一個DLL,如「libOpenglRender」。您可能會看到多次嘗試在多個目錄中查找此文件,結果爲「NAME NOT FOUND」或「PATH NOT FOUND」。

使用這個,我發現我有一個問題與atiglpxx.dll

我看着我的顯示適配器在我的Windows設備管理器,在我的情況下,ATI的Radeon Modility HD 2400 XT從AMD http://support.amd.com/us/psearch/Pages/psearch.aspx?type=2.4.2&product=2.4.2.3.15&contentType=GPU+Download+Detail&ostype=Windows+8+-+32-Bit+Edition&keywords=&items=20

下載的驅動程序

一旦我安裝,我不再得到了「不能讓wglGetExtensionsStringARB」消息

+0

對我來說,將文件複製到\ tools文件夾中的確很神奇。謝謝(你的)信息 – Akshay

0

你玩弄你的Android設備的規格一樣RAN,堆和其他規範。

很難告訴你哪些是必須設置的。在我的情況下,我將RAM設置爲512和堆128,使其工作。

相關問題