简体   繁体   中英

Android Shared Library Project Manifests

I'm declaring a minSDK in my library project manifest and in my other project's manifest that utilizes the library project. I am getting claim from a client that the apk will not install.

Here is the logfile they are reporting...

minSdkVersion in the AndroidManifest has two unique values – 0xa and 0x4 as shown below:
amolsMacBookPro:~ amundayoor$ aapt decode xmltree Desktop/AccuWeatherPlatinum-4493-application.apk AndroidManifest.xml | grep minSdkVersion
      A: android:minSdkVersion(0x0101020c)=(type 0x10)0xa
      A: android:minSdkVersion(0x0101020c)=(type 0x10)0x4

Is the device reading both manifests? I'm not sure how to read this. Will declaring minSDK in only the launcher project work too?

Can you check in the manifest that your code is correct. I mean check the xml source (sometimes the graphical editor is out of sync with the source especially with the manifest.xml file)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM