How to view the Android version number that APK needs to support

Source: Internet
Author: User

Suppose you have an apk that needs to know what Android version number is supported by his minimum installation, and how should I check it?

Change the APK suffix name directly to RAR or zip and pull out the androidmanifest.xml? No, Androidmanifest.xml has been compiled, there is a lot of content changed into binary.

Its useful Android comes with the tools to go to the Android SDK folder.

CD sdk\build-tools\android-4.4.2 This way take 4.4.2 as an example, to be able to participate in their own platform version number

Aapt.exe list-a someapk.apk > Apkversion.txt

Then open the Apkversion.txt search with apps like Notepad

Minsdkversion, take my side for example, can see this is 0xf, that is, 15

E:USES-SDK (line=8)
A: android:minsdkversion(0x0101020c) = (type 0x10)0xf


15 the corresponding Android version number can be viewed from this side:

The corresponding relationship between Android version number and API level

How to view the Android version number that APK needs to support

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.