Common errors found when generating Android certificates (and how to fix them!)

Error 1 — “No value provided for flag: include-cer”

Error 2: “java.io.IOException: Keystore was tampered with, or password was incorrect”

Error 3: “Unable to export or encrypt the private key”

Error 4: “Unable to parse the input:”

Error 5: “java.lang.IllegalArgumentException: publicKey should be 68 bytes”

Error 6: “java.lang.IllegalArgumentException: Hex encoded byte array must have even length but instead has length: 143.”

Error 7: “java.security.GeneralSecurityException: point is not on the curve”

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store