每次点击一次&QUOT蚀火起来了全新的Andr​​oid实例;润QUOT; [英] Eclipse fire up new Android instance every time you clicks "Run"

查看:197
本文介绍了每次点击一次&QUOT蚀火起来了全新的Andr​​oid实例;润QUOT;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个电脑与Eclipse和Android SDK中的问题。

One of my computer has the issue with eclipse and android SDK.

我每次点击运行或调试,然后月食将开辟一个新的Andr​​oid实例,而不是刷新开一个应用程序。

Every time I clicks "Run" or "Debug", then the eclipse will open up a new android instance instead of refresh the app in the "opened" one.

在此期间,在控制台打印

In the meantime, the console prints

    [2011-09-02 16:46:13 - Emulator] WARNING: Data partition already in use. 
Changes will not persist!
    [2011-09-02 16:46:13 - Emulator] WARNING: Cache partition already in use. 
Changes will not persist!

我已经重新启动我的计算机和问题仍然存在。

I have restarted my computer and the problem still there.

P.S。我从来没有取得Android在这台计算机上正常工作,但我已经设置其他三台笔记本电脑运作良好​​。他们都是64位的Windows7机器。

P.S. I have never get android properly working on this computer, but I have set another three laptops working well. They are all windows7 64bit machines.

感谢您。

推荐答案

我恨你做了所有的工作,即使重新安装操作系统 - 答案是非常简单的。如果它再次发生(它会,我经常处理它),你需要杀死通过命令行的亚洲开发银行,关闭模拟器,关闭Eclipse,重新启动Eclipse,然后编辑运行配置。选择您使用的配置,单击目标选项卡,并切换用户擦除数据复选框上。然后单击应用和运行。然后,只需将其切换回关和适用。你是好去。

I hate that you did all of that work, even re-installing the OS - the answer is fairly simple. If it ever happens again (and it will, I deal with it often), you need to kill the adb via command-line, close the emulator, close eclipse, restart eclipse, then edit the Run Configurations. Choose the config you use, click the Target tab and toggle the "Wipe User Data" checkbox to on. Then click apply and Run. Then just toggle it back off and apply. You're good to go.

这篇关于每次点击一次&QUOT蚀火起来了全新的Andr​​oid实例;润QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆