简体   繁体   中英

When compiling an android-app in eclipse, an older version of the app shows upp in the avd

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. Ie with a textfield saying something like "hello*name*activity"

Edit: After playing around a bit more ie 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!

我已经用Eclipse的增量更新遇到了这个问题,尝试进行一个干净的构建,从avd卸载应用程序(我看过您已经尝试过了),最后提交了一个错误报告。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM