on-internet
← Community

Get minSdkVersion and targetSdkVersion from apk file

Stack Overflow ·

I am trying to get the values of minSdkVersion and targetSdkVersion from an apk stored on the device. Getting other details are discussed here, but only the targetSdkVersion is available in the ApplicationInfo class. Can the minSdkVersion be obtained other than by extracting the apk file and reading AndroidManifest.xml?

Comments

Sign in or sign up to comment and upvote.

No comments yet.