简体   繁体   English

Android应用无法识别所做的更改

[英]Android App Doesn't Recognize Changes Made

I am currently working on an Android app and for some reason even after I make changes to the code that should institute some change, the changes aren't shown when I run the app on my phone. 我目前正在使用Android应用程序,由于某种原因,即使我更改了应该进行一些更改的代码,但在手机上运行该应用程序时,这些更改不会显示。 For example, I had a TextView print something different, but the app when run still prints what was there before the change. 例如,我让TextView打印了一些不同的东西,但是运行时该应用程序仍会打印更改前的内容。 I did a Project Clean, saved my changes, etc. Any ideas why this can be happening? 我做了一个Project Clean,保存了更改,等等。为什么会发生这种情况? I can post code if necessary, but I figured this is a pretty generic question and is probably not something code-related. 我可以在必要时发布代码,但是我认为这是一个非常普通的问题,可能与代码无关。 THanks! 谢谢!

I had a similar problem yesterday. 我昨天也有类似的问题。 The changes I made to image files in my res folders were not showing in the app on my test device. 我对res文件夹中的图像文件所做的更改未显示在测试设备上的应用程序中。 Completely uninstalling the app from the device and cleaning the project under the build menu fixed the problem. 从设备上完全卸载该应用程序并清理生成菜单下的项目即可解决该问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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