被换成其他人在文件夹后,可绘制不改变文件夹、不改变、其他人

2023-09-05 10:57:21 作者:敷衍

我创建了一个新的主题,我的一个程序集,并决定我并不需要旧的了。 所以,我复制我的新的图像文件覆盖旧的,更换所有的人。我这样做是为我所有的可绘制文件夹。 然后我重新创建 R.java 以防万一,并重建我的应用程序。

I've created a new theme set for an app of mine, and decided I didn't need the old one anymore. So, I copied my new image files over the old ones, replacing all of them. I did this for all of my drawables folders. I then recreated R.java just in case, and rebuild my application.

由于某些原因,它拿起旧图像和显示的。 好吧,我想,一定是什么东​​西在内存/缓存。我刚擦我的仿真图像,然后重试。

For some reason, it's picking up the old images and displaying those. Alright, I thought, must be something in the memory / cache. I'll just wipe my emulator image and try again.

这样做之后,应用程序仍沿用旧照片。我想我一定是犯了一个错误,并检查了图像在Eclipse,但它表现出新的形象出现。 然后,我采取了激进的问题,并删除了可绘制文件夹。 Ofcourse这引起了我的项目要发飙了,所以我迅速补充所需的新图片和重建项目。没有错误出现了,并且所有的照片出现在Eclipse改变。

After doing so, the app still used the old pictures. I thought I must have made a mistake and checked the images in Eclipse, but it showed the new images there. I then took drastic matters and deleted the drawables folders. Ofcourse this caused my project to freak out so I quickly added the desired new pictures and rebuild the project. No errors showed up, and all pictures appeared changed in Eclipse.

但在运行程序的时候,老照片仍然显示。除了在应用程序的某些部分。出的70张左右的图片,我用,只有2现在是显示新版本。所有其他的人仍然呈现老照片。

But when running the app, the old pictures still showed. Except in some parts of the app. Out of 70 or so pictures that I used, only 2 were now displaying the new version. All the other ones are still showing the old pictures.

有什么可以怎么回事?我试图重新启动我的模拟器,resfreshing项目,创建新项目使用旧为源,重新启动我的电话,擦所有的应用程序数据安装的应用程序,删除所有图像,并用新的替换它们之前,但似乎没有任何的工作。

What can be going on here? I tried restarting my emulator, resfreshing the project, creating a new project using the old one as the source, restarting my phone, wiping all app data before installing the app, deleting all images and replacing them with the new ones, but nothing seems to work.

如何一个应用程序,包含了新的形象,这就是正在运行一个完全新鲜的模拟器,仍然显示已提前一个小时删除至少图像?

How can an app that contains new images, thats being run on a completely fresh emulator, still display images that have been deleted at least an hour earlier?

推荐答案

擦拭您的箱文件夹删除旧汇编的数据。

Wipe your bin-folder to remove old compiled data.

 
精彩推荐
图片推荐