安卓:Eclipse不推应用程序的新版本与仿真器 [英] Android: Eclipse doesn't pushed new version of app to emulator

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

问题描述

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

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.

我对某些项目,但不能在其他人继Android开发者网站上的教程的时候这个问题,我的朋友原来是有同样的问题。尽管这已被前(<一个问href=\"http://stackoverflow.com/questions/5602537/android-restarting-with-a-fresh-version-of-the-app-being-developed\">here并在一定程度<一href=\"http://stackoverflow.com/questions/4144131/how-do-i-know-if-its-the-latest-version-of-my-application-that-is-running-on-the\">here)他们的问题竟然是对XML文件的一个一些额外的引号,我可以看到在我的项目没有这样的事。否则,人们似乎在说,Eclipse中的的推新版本。不幸的是,它没有。

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.

在另一方面,如果你想安装一个应用程序,或者要启动一个运行会议直接在设备上,在版本应用程序设置中的的Andr​​oidManifest.xml 必须比在手机上一个更大的。

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.

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

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