Android: failed to convert @drawable/picture into a drawable

前端 未结 14 1767
隐瞒了意图╮
隐瞒了意图╮ 2020-12-02 10:16

In my drawable folder I have a few images and they all reference perfect, but when I try and add any more images with the exact same size in the same folder, and try to refe

相关标签:
14条回答
  • 2020-12-02 11:09

    If you have the naming conventions right, then just go to File -> Invalidate Caches / Restart..

    And press Invalidate Caches / Restart..

    This helped in my case.

    0 讨论(0)
  • 2020-12-02 11:11

    My Image name was 21.jpg. I renamed it as abc.jpg and it worked. So Make sure your image name not starting with a number. However all above answers are also accepted.

    0 讨论(0)
提交回复
热议问题