Get Android APK version number on GNU\Linux
Issue
You have downloaded an APK file and you want to know which version it it
Solution
Download and install AAPT for you linux Distribution
The tool is available into the Android SDK should you already have it installed
<sdk_path>/build-tools/<sdk_version>/
Debian / Ubuntu
sudo apt install -y aapt
Run the following command
aapt dump badging test.apk | grep "VersionName" | sed -e "s/.*versionName='//" -e "s/' .*//"
Source
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.