'apksigner returns back with nothing
as you can see from the title I am having difficulty getting apksigner to work. I have tried using the terminal in android studio and the command line however they both seem to return exactly the same; with nothing.
No matter what I type in I end up with the same result.
Solution 1:[1]
In my case, I used a very old version (v28) of Android build tools (which still used the java signer), in android studio I downloaded the newest version of android build tools and used the apksigner there. This solved the issue for me.
The following commands worked:
apksigner --help
and
apksigner sign --ks mykeystore-key.keystore --ks-pass pass:keystorePass --v1-signing-enabled true --v2-signing-enabled true zipalignedAPK.apk
This currently generates signs the apk in a way that can be uploaded to the play store.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Oli4 |
