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.