A strange R.java resource issue causes a resource that is not suitable for loading

I have a custom option, but unfortunately drawable does not load when I try to run the application on the device.

  • I tried to clear the workspace ... Same problem.
  • I tried deleting and re-importing the project by clearing the .metadata folder ... Same problem.
  • I tried to delete the R.java autogen file ... Nothing.
  • I tried to change the images used ... Nothing.
  • I changed the name ... Ops, this time everything will work with the problem, it will start working, but the same problem arises with a different image.

In various tests, I noticed that an unloaded image is always the first in

public static final class drawable {...}

inside auto generated file R.java

Detailed image of the resource with the address 0x7f020000:

public static final int bt_a_1=0x7f020000;

, a1.png, .

, , .

Android, HoneyComb Ia971bb242ceac5e8f9346094009a10f356399ab9

- .

: https://android-review.googlesource.com/#/c/15815/

HoneyComb..., , , .

+5

All Articles