Home:ALL Converter>How can we sign my APK file using apksigner command in a Windows os which DOES NOT have AndroidSDK setup

How can we sign my APK file using apksigner command in a Windows os which DOES NOT have AndroidSDK setup

Ask Time:2020-02-25T15:18:34         Author:ChandraSekhar

Json Formatter

I could sign the APK file in windows by running the below command in the terminal which has Android SDK setup:

C:\Users\username\AppData\Local\Android\Sdk\build-tools\25.0.3\apksigner sign --ks testkeystore --ks-pass stdin --key-pass stdin --out signed_app.apk app-debug.apk

I want to sign the APK file in a windows system which does not have Android setup, I have copied the ‘apksigner.bat’ and ‘apksigner.jar’ files in a folder and execute the below command but it is not working.

C:\Users\username\Desktop\signing\apksigner sign --ks key --ks-pass stdin --key-pass stdin --out signed_app.apk app-debug.apk

Thanks in advance.

Author:ChandraSekhar,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/60389334/how-can-we-sign-my-apk-file-using-apksigner-command-in-a-windows-os-which-does-n
yy