I am using Android Studio 1.5, with the build tools version 23.0.2, and am getting a Gradle Build Error for every 9-patch image that I use (using your tool).
Here is the complete error message from GradleBuild Log -
AAPT: ERROR: 9-patch image /home/kunal/AndroidStudioProjects/MyApplication/app/src/main/res/drawable-hdpi/munchery_ondemand.9.png malformed.
AAPT: Frame pixels must be either solid or transparent (not intermediate alphas).
AAPT: Found at pixel #360 along bottom edge.
AAPT: ERROR: 9-patch image /home/kunal/AndroidStudioProjects/MyApplication/app/src/main/res/drawable-xhdpi/munchery_ondemand.9.png malformed.
AAPT: Frame pixels must be either solid or transparent (not intermediate alphas).
AAPT: Found at pixel #480 along bottom edge.
AAPT err(Facade for 1648474378) : No Delegate set : lost message:ERROR: 9-patch image /home/kunal/AndroidStudioProjects/MyApplication/app/src/main/res/drawable-xxxhdpi/munchery_ondemand.9.png malformed.
AAPT err(Facade for 1648474378) : No Delegate set : lost message: Frame pixels must be either solid or transparent (not intermediate alphas).
AAPT err(Facade for 1648474378) : No Delegate set : lost message: Found at pixel #959 along top edge.
:app:mergeDebugResources FAILED
Error:Execution failed for task ':app:mergeDebugResources'.
> Some file crunching failed, see logs for details
Information:BUILD FAILED
bug