If you are trying to run following commands to sign your applications in Linux and facing following errors
Error: bash:
jarsigner: command not found
Open terminal and type following command
sudo apt install openjdk-11-jdk
Once installed, just type jarsigner to view all options.
and now you can run your command such as
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore /home/HiLinuxOS/key.keystore vivapro.apk taous
to sign your app.
===================
If you are trying to run the following commands to optimize your application
zipalign -v 4 vivapro.apk signed.apk
and facing this error
bash: zipalign: command not found
simply use this command to install ZipAlign
sudo apt-get install zipalign
=================
Watch this wonderful video to learn Why and How To Manually Sign APK's with Jarsigner & Zipalign
• How To Manually Sign APK's with Jarsigner ...