APK Tools

aapt

aapt (Android Asset Packaging Tool) allows to view, create and update apk/jar files.

To install aapt:

$ apt install aapt

To print information extracted from the APK's manifest:

$ aapt dump badging application.apk

Android aapt - eLinux.org

Set Variables of Android Environment

$ export JAVA_HOME=$HOME/android-studio/jre

$ export PATH=$HOME/Android/Sdk/tools/bin:$HOME/Android/Sdk/build-tools/29.0.2:$HOME/android-studio/jre/bin:$PATH

apkanalyzer

$ apkanalyzer apk summary apk-file

$ apkanalyzer manifest print apk-file

apkanalyzer | Android Developers

Signature Verification

$ keytool -printcert -jarfile apk-file

$ jarsigner -verify -verbose -certs apk-file

$ apksigner verify --verbose --print-certs apk-file

apksigner | Android Developers

APK Info

apkinfo is a tool to display information about an apk file.

APK-info is a MS Windows tool to get detailed info about an apk file. APK-Info at XDA Developers Forums