9 patch image prevent build project android studio

后端 未结 3 1520
醉梦人生
醉梦人生 2021-01-04 21:24

I am moving to Gradle build . but i have this error for a lot of 9-patch images .

Note the drawable is auto generated by http://android-holo-colors.com

3条回答
  •  臣服心动
    2021-01-04 22:15

    I saw a solution in other feed and the way to fix this issue is to use draw9patch tool to open the image and save it directly. I use this way to solve this issue. About "draw9patch", you can use that tool in the tools directory of the Android sdk folder or use it directly by clicking the image within the Android Studio, it uses draw9patch as well.

提交回复
热议问题