Android emulator warning----Emulator window was out of view and was recentred

最近在打开Android emulator时,总会提示“Emulator window was out of view and was recentred ”,然后无法打开模拟器,但是可以使用Win7的透视功能看到,就是无法打开显示在界面上。上网查找了一下,大致解决方案如下:

翻译自网站:http://android.okhelp.cz/

如果你遇到类似下面的错误:

Emulator window was out of view and was recentred
Emulator] WARNING: Data partition already in use. Changes will not persist!
Emulator] WARNING: SD Card image already in use: C:\Documents and Settings\user_name\.android\avd\hvga21_up1_7.avd/sdcard.img
Emulator] WARNING: Cache partition already in use. Changes will not persist!

基本的尝试方法:重启Eclipse,方法File—>Restart

其他解决方案:

1:尝试重启ADB服务

详情请参考:

http://android.okhelp.cz/how-quickly-restart-adb-exe-adb-server-android-emulator-example/

2:删除Run Configuration,在Run—>Run Configuration中,选择删除已经配置的Activity。

本人在亲测中,并没有删除配置,只是改变了Target中的选项便解决了问题。

详细请参考:http://android.okhelp.cz/android-emulator-wont-run-application-started-from-eclipse/

3:尝试删除你的.android文件下的一些镜像文件。下面以默认安装路径为例,你可以删除一下文件试一试:

c:\Documents and Settings\user_name\.android\avd\my_avd.avd\cache.img
c:\Documents and Settings\user_name\.android\avd\my_avd.avd\userdata-qemu.img
posted @ 2013-08-05 09:18  KillerLegend  Views(2399)  Comments(0Edit  收藏  举报