- When you have the APP source code, you can view the Androidmanifest.xml file directly.
<android:versionname= "1.4" android:versioncode= "6" Package= "<package>" xmlns:android= "Http://schemas.android.com/apk/res/android" >
- only the APK installation package can be viewed through the AAPT (build-tools directory) command in the Android SDK.
aapt dump badging douban.apk | grep " versioncode " package:name = " com.douban.frodo " versioncode=" 94 " versionname=" 4.14.0 " platformbuildversionname= "
- Apps that have been installed on Android devices can be viewed through the ADB command.
grep " version " Versioncode=94 targetsdk=versionname=4.14. 0
- No source code can also be anti-compilation apk file, get androidmanifest.xml file view, but compared with the previous methods, slightly more troublesome, not described here.
View Versioncode for Android apps