Signing Android Applications in Netbeans

I am using the netbeans android plugin for app development. I finally came to submit my app but had a lot of trouble with a ZipException when trying to digitally sign the application.

After a lot of googling, here’s how to solve the problem.

netbeans android build

You know have an unsigned version (***-unsigned.apk) of your app ready to be signed as in this post: Signing your android app