I'm using aapt tool to read content of apk file with:
aapt d badging myapk.apk
But the output is too much. I just need the package name and version name. Any way to limit it?
Update: I got it to work on window cmd. Look like this:
aapt d badging myapk.apk | find "pack"
//try this
aapt d badging myapk.apk | grep 'pack'
its showing for me as
padmakumar@padmakumar-desktop:~$ aapt d badging ./Desktop/NhpAndroid_tablet_k4.apk | grep 'pack'
package: name='com.ti.et.nspire.android' versionCode='1' versionName='1.0'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With