2012-09-16 61 views
-1

模擬器負載模擬器上的應用程序,並顯示該消息是「不幸的是應用程序已經停止」 PLS幫助我....這是在控制檯中顯示如何運行無差錯

[2012-09-16 23:32:25 - Demo] Android Launch! 
[2012-09-16 23:32:25 - Demo] adb is running normally. 
[2012-09-16 23:32:25 - Demo] Performing com.example.demo.MainActivity2 activity launch 
[2012-09-16 23:32:25 - Demo] Automatic Target Mode: launching new emulator with compatible AVD 'Emulator1' 
[2012-09-16 23:32:25 - Demo] Launching a new emulator with Virtual Device 'Emulator1' 
[2012-09-16 23:32:31 - Emulator] could not get wglGetExtensionsStringARB 
[2012-09-16 23:32:31 - Emulator] Failed to create Context 0x3005 
[2012-09-16 23:32:31 - Emulator] could not get wglGetExtensionsStringARB 
[2012-09-16 23:32:31 - Emulator] could not get wglGetExtensionsStringARB 
[2012-09-16 23:32:31 - Emulator] could not get wglGetExtensionsStringARB 
[2012-09-16 23:32:31 - Emulator] could not get wglGetExtensionsStringARB 
[2012-09-16 23:32:31 - Emulator] could not get wglGetExtensionsStringARB 
[2012-09-16 23:32:31 - Emulator] could not get wglGetExtensionsStringARB 
[2012-09-16 23:32:31 - Emulator] could not get wglGetExtensionsStringARB 
[2012-09-16 23:32:31 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. 
[2012-09-16 23:32:31 - Emulator] emulator: warning: opening audio input failed 
[2012-09-16 23:32:31 - Emulator] 
[2012-09-16 23:32:32 - Demo] New emulator found: emulator-5554 
[2012-09-16 23:32:32 - Demo] Waiting for HOME ('android.process.acore') to be launched... 
[2012-09-16 23:33:36 - Demo] HOME is up on device 'emulator-5554' 
[2012-09-16 23:33:36 - Demo] Uploading Demo.apk onto device 'emulator-5554' 
[2012-09-16 23:33:36 - Demo] Installing Demo.apk... 
[2012-09-16 23:34:36 - Demo] Success! 
[2012-09-16 23:34:36 - Demo] Starting activity com.example.demo.MainActivity2 on device emulator-5554 
[2012-09-16 23:34:38 - Demo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.demo/.MainActivity2 } 
[2012-09-16 23:41:22 - Demo] ------------------------------ 
+0

你應該發佈代碼和logcat錯誤 – nandeesh

+0

據我所見,你的模擬器工作得很好,問題出在你的應用程序上。請發佈您的logcat輸出。 – Gan

回答

1

有許多初始化錯誤,因此建議重新安裝。這也可能是apk包的問題,​​但新鮮安裝模擬器,並嘗試相同,如果它仍然無法正常工作,那麼它與包而不是模擬器的問題,但我認爲它是因爲缺少文件或者配置,無論如何試試看,希望它應該工作,否則包被破壞或損壞。

完全卸載程序。

然後按照這些影片,你會好到哪裏去:

正確安裝仿真器 - http://www.youtube.com/watch?v=BwnPpVpzJSk&feature=youtube_gdata_player

在Android模擬器獲取應用程序 - http://www.youtube.com/watch?v=979dyHuZG9I&feature=youtube_gdata_player

的遊戲或應用程序將無法運行儘管它在實際的Android設備上會盡可能快。

一切順利。希望我幫助。