Android : 9-Patch image Error

后端 未结 1 1148
耶瑟儿~
耶瑟儿~ 2021-01-28 05:26

i imported this keyboard app from git everything is working fine but i am getting this error while building project

Error:top-left corner pixel must be either op         


        
相关标签:
1条回答
  • 2021-01-28 06:06

    This error is caused by an incorrect/corrupted 9-patch file. They should have a transparent or opaque white border, but yours doesn't seem to have it. Try following the steps in this: https://developer.android.com/studio/write/draw9patch.html

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