2013-01-21 117 views
0

當我第一次運行我的應用程序時效果很好,但是第二次運行時會自動創建一個新的模擬器我認爲這會導致錯誤。爲什麼模擬器在每次都自動重新創建

我使用Windows7的64位時,Eclipse朱諾

我的錯誤是:

WARNING: Data partition already in use. Changes will not persist! 
WARNING: SD Card image already in use: C:\Users\STS-040\.android\avd\android.avd/sdcard.img 
WARNING: Cache partition already in use.Changes will not persist! 
could not get wglGetExtensionsStringARB 
could not get wglGetExtensionsStringARB 
could not get wglGetExtensionsStringARB 
could not get wglGetExtensionsStringARB 
could not get wglGetExtensionsStringARB 
could not get wglGetExtensionsStringARB 
could not get wglGetExtensionsStringARB 
could not get wglGetExtensionsStringARB 
Failed to create Context 0x3005 
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. emulator: warning: opening audio input failed 

回答

0

關閉模擬器

在ecpilse窗口中點擊

導航在最上面一欄則運行配置

一個新的窗口會彈出

這裏點擊目標選項卡,選擇(檢查)您的AVD經理

擊中運行按鈕!

它會像魅力一樣工作;-)

+0

我已經達到了...但是noe也有相同的錯誤.. – Vela

+0

看看這是否有幫助 http://stackoverflow.com/questions/6854262/using-eclipse-for-androidsdk-when-i-go-運行i-get-warning-data-partition-al – khurram

+0

感謝它的作品很好... – Vela

0

即使我面臨着相同的問題。需要重新啓動eclipse或有時重新啓動計算機本身來解決它。

我建議你通過選擇DDMS透視圖並檢查設備來檢查是否在eclipse中檢測到模擬器。如果未檢測到設備,則不需要等待模擬器啓動並浪費您的時間,因爲來自eclipse的程序無法運行。

相關問題