I am writing on a custom view in Android. It uses some png provided as resources in the drawable folder (now I put it in all available folders to make sure) of my project.
Unfortunately, when I launch the application, I gain strength and the last thing the magazine says is: "WARN/ResourceType(261): Resources don't contain package for resource number 0x7f020002" (Hex-Number is the first icon I intend to download )
Now for the curious thing: the eclipse adt plugin graphical layout editor has no problem loading the icon display in its design view. This is only when I run the actual application (emulator or real cell phone), this android can not find resources.
I tried to clean the project and update the file structure. It didn't quite work. -
EDIT: I just realized that I can't even load a string resource. It seems that the problem exists for all resources. Do I have to do something before resources become available?
Hope someone can help me
thanks in advance
source share