2013-01-21 84 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的程序无法运行。

相关问题