9-patch image error in Android

前端 未结 14 1074
野性不改
野性不改 2020-12-04 12:53

Whenever I try to add a 9-patch image to the \\drawable folder in my project, I get the same error:

ERROR: 9-patch image C:\\...\\res\\drawable\         


        
14条回答
  •  清歌不尽
    2020-12-04 13:31

    If you are making the image using an online generator tool, then you must remove any special characters from the name for it to work.

提交回复
热议问题