apksigner issue with AWS KMS #250
Closed
shyamsundar-toast
started this conversation in
General
Replies: 1 comment 7 replies
-
Are you sure the APK Signer jar is named |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI,
Looking for some help to sign apksigner using AWS KMS.
Here is my command.
java -cp apksigner.jar:jsign-6.0.jar \ com.android.apksigner.ApkSignerTool sign \ --provider-class net.jsign.jca.JsignJcaProvider \ --provider-arg us-east-1 \ --ks NONE \ --ks-type AWS \ --ks-pass pass:"ASIA45MLNVHC7VXIACY5|JzVT/hyxszUiLOORcVVtOprZMwamxP2owZc729ac" \ --ks-key-alias aosp/apksigner \ --in ./test.apk \ --out ./test-signed.apk
I get the below error,
Error: Could not find or load main class com.android.apksigner.ApkSignerTool Caused by: java.lang.ClassNotFoundException: com.android.apksigner.ApkSignerTool
Is there any setup steps I am missing?
I just downloaded the jsign jar and tried to sign the apk. I also tried to copy the "apksigner" tool from android SDK in the same folder and it didn't help either.
Any help is much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions