Home:ALL Converter>Android signing apk with apksigner using store type Windows-MY

Android signing apk with apksigner using store type Windows-MY

Ask Time:2021-08-24T08:39:22         Author:imodeGowas

Json Formatter

I am trying to use APK Signature Scheme v2 for my app as part of targeting Android 11 changes. Until now, I was using jarsigner to sign the apk using storetype Windows-MY (type of key store on Windows) on my build machine like this:

jarsigner -sigalg SHA1withRSA -digestalg SHA1 -storetype "Windows-MY" -signedjar temp.apk  myapp.apk

Now I want to use apksigner to sign the apk, but I am struggling to find a way to use store type Windows-MY with apksigner. Does anyone know how to achieve this?

Thank you in advance.

Author:imodeGowas,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/68900514/android-signing-apk-with-apksigner-using-store-type-windows-my