---
# System prepended metadata

title: Sign android app (ionic)

---

# Sign android app (ionic)

1. ionic cordova build android --release

2. create key store **(once)**: keytool -genkey -v -keystore my-release-key.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias

3. use the generated key store: jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk my-alias

4. verify the app: zipalign -v 4 platforms\android\app\build\outputs\apk\release\app-release-unsigned.apk spider-app-v2.apk

**sandoog spider (order app) keystore : helloworld2022**