在 eclipse 中编译 android-app 时,旧版本的应用程序在 avd 中显示 upp
标题几乎说明了一切。我正在制作一个简单的 Hello-world 应用程序,在重新编译几次后,最新版本不再在 avd 中显示。无论我尝试重新编译多少次,它都停留在相同的版本上。卸载 avd 中的应用程序后,重新启动 avd 几次,等等,它再次开始正常工作,并为每次重新编译进行更新。
现在我刚刚开始一个新项目,添加了一些按钮和东西,这个问题再次出现。无论我做什么,它都只是显示新创建的项目的状态,而不进行任何编辑。即带有一个文本字段,上面写着“hello*name*activity”之类的内容
编辑:在玩了一会儿之后,ie卸载了avd中的应用程序,擦除了avd中的用户数据,重新启动了avd,重新启动了eclipse,它仍然只显示了helloactivity-文本而不是我的应用程序。最后我重新启动了计算机,“解决”了它。很烦人。我尤其可以想象,当您甚至不确定应用程序显示的是新版本还是旧版本时(例如尝试修复错误时),这会令人沮丧。
知道如何解决这个问题吗?
提前致谢!
The title pretty much says it all. I was making a simple Hello-world app and after having recompiled it a few times the newest versioned stopped showing upp in the avd. It was stuck with the same version no matter how many times i tried recompiling. After having uninstalled the app in the avd, relauched the avd a couple times, etc it started working normally again and updated for each recompile.
Now i just started a new project, added a few buttons and stuff to it and this problem appears again. No matter what I do, it just shows the state of a newly-created project without any editing. I.e with a textfield saying something like "hello*name*activity"
Edit: After playing around a bit more i.e. uninstalled the app in the avd, wiped userdata in the avd, restarted the avd, restarted eclipse, it still just showed the helloactivity-text instead of my app. Finally i rebooted my computer which "solved" it. Very annoying. I can especially imagine this being frstrating when you're not even sure if it's the new or the old version of the app shwing upp, like when trying to fix a bug.
Any idea as how to fix this issue?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 Eclipse 的增量更新中遇到了这个问题,尝试干净的构建,从 avd 卸载应用程序(我看到你已经尝试过这个),最后提交错误报告。
I have run into this with Eclipse's incremental updates, try a clean build, uninstall the app (I see you already tried this) from the avd and finally file a bug report.