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\
In my case I mistakenly extended the black border into the top left corner. Make sure the corners are transparent.
I found the issue is about *.9.png files. Open and check all your 9-Patch files, make sure that all files have black 1 pixel wide border, if don't have, just click the white place and add it, then save it.
It's the only solution to my problem.