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”

--

--

--

Lead Developer Advocate for Huawei AppGallery | He/Him | All views are my own and do not represent the views of Huawei

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

In app Authentication using Facebook accounts with Unified sign-in from AppGallery Connect

The Most Helpful Resources From My First Year in Android

black telephones with swirled wires on a grey background

Integrating Huawei Remote Configuration and In-App Purchase in Flutter QuizApp (Cross platform)

Hosting native android view inside flutter app

WORD RIDDLE GAME FEATURING HUAWEI ACCOUNT KIT AND IN-APP MESSAGE (Part 1)

Nova Launcher Apk Download NEW 2021

Nova Launcher Apk Download NEW 2021

Switch themes in flutter apps using cubit(BLOC)

Pubspec.yaml file with relevant dependencies

Make a simple RecyclerView in Android with Kotlin

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
Zachary Powell

Zachary Powell

Lead Developer Advocate for Huawei AppGallery | He/Him | All views are my own and do not represent the views of Huawei

More from Medium

Sharing In-app Images with Huawei’s App Linking

Dynamic Color Curved Border in layout Android-studio

Paging3 with Room Persistance

Learn to perform Asynchronous operations in Android using RxJava in 10 mins