“Incorrect AVA format” when creating a signing key

incorrectAVAHave you ever run into the error “Incorrect AVA format” when trying to sign an Android APK with a new key? It turns out this useless error more than likely means that you have used some illegal character in the signing data. In my case, I had used a comma in the company name which isn’t allowed for some reason. Just remove any extra characters and you should be good to go!

 

EDIT: Great comment below from Adam M Dutko:

Put a \ before the commas and it will work. Here is an example: OU=Test Company\, LLC