安卓:与应用程序的新版本重新启动正在开发中 [英] Android: Restarting with a fresh version of the app being developed

查看:147
本文介绍了安卓:与应用程序的新版本重新启动正在开发中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Andr​​oid所以请尽可能明确。
我试图创建一个新的活动。
问题是,当我从Eclipse运行模拟器,给我的老版我的应用程序。我想这是仍在运行。
有没有办法迫使我新的应用程序的重新安装/重新启动?
我读过有关的生命周期,这可能与这...但不能肯定。

I'm new to Android so please be as explicit as possible. I'm trying to create a new activity. the problem is that when I run the emulator from eclipse, I get the old version of my app. I guess it's still running. Is there a way to force a fresh install/restart of my new app? I've read about the life cycle, and this might be related to that... but not sure.

我怎么可以让测试我的应用程序,而我发展,获取最新的我的code版本的模拟器?

How can I keep testing my app while I'm developing, and get the most recent version of my code on the emulator?

任何帮助将AP preciated。

Any help will be appreciated.

推荐答案

刚刚从Eclipse中运行应用程序和新版本将被推到仿真器和武力停止或替换旧版本。需要注意的是,如果有任何编译错误,也不会去做。如果你只是从AVD管理启动模拟器,或者只是运行模拟器启动应用程序只会有你推到仿真器的最后一个版本。

Just run the app from eclipse and the new version will get pushed to the emulator and force stop or replace the old version. Note that if there are any compile errors, it will not do it. If you just launch the emulator from the avd manager, or just run the app from the emulator launcher it will only have the last version you pushed to the emulator.

您不需要重新启动模拟器或任何东西。

You don't need to restart the emulator or anything.

这篇关于安卓:与应用程序的新版本重新启动正在开发中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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