Eclipse不会将新版本的应用程序推送到仿真器

Eclipse不会将新版本的应用程序推送到仿真器

本文介绍了Android:Eclipse不会将新版本的应用程序推送到仿真器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当在Eclipse中开发Android时,仿真器每次运行该项目时重新启动旧版本的应用程序,除非我经历了相当艰巨的过程,例如设置 - >应用程序 - >管理应用程序 - > [我的应用程序] - >卸载 - >确定 - >确定在模拟器中。



我在某些项目上遇到了这个问题,但是在遵循Android Developers网站,我的朋友原来也有同样的问题。虽然以前已经提出了这一点(在一定程度上),他们的问题被证明是一个xml文件的一些额外的引号,我可以看到没有这样的事情在我的项目。否则人们似乎在说Eclipse 应该推新版本。


$ b 我将不胜感激, div>

我也有这个问题,我想到的是:



如果你正在使用你的设备进行调试,那么你应该启动一个 debug session ,而不是运行一个。



另一方面,如果要安装应用程序,或者要直接启动运行会话在您的设备上, androidManifest.xml 中设置的应用程序的版本必须大于手机上的。


When developing for Android in Eclipse, the emulator relaunches the old version of the app each time I run the project unless I go through the rather arduous procedure of Settings -> Applications -> Manage applications -> [my application] -> Uninstall -> Ok -> Ok in the emulator.

I had this problem on some projects but not on others when following the tutorials on the Android Developers site, and my friend turns out to have the same problem. Although this has been asked before (here and to some extent here) their problem turned out to be "some extra quotes on one of the xml file" and I can see no such thing in my project. Otherwise people seems to be saying that Eclipse should push the new version. Unfortunately, it doesn't.

I would be grateful for any suggestions.

解决方案

I had this issue as well, and what i figured out was:

If you are using your device for debugging, then you should launch a debug session, not a run one.

On the other hand, if you want to install an application, or you want to launch a run session directly on your device, the version of your application set in the androidManifest.xml must be greater than the one on your phone.

这篇关于Android:Eclipse不会将新版本的应用程序推送到仿真器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 21:13