简体   繁体   English

Android共享库项目清单

[英]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. 我在我的图书馆项目清单和使用图书馆项目的其他项目清单中声明了一个minSDK。 I am getting claim from a client that the apk will not install. 我从一个客户那里得到宣称将不会安装apk。

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? 仅在启动器项目中声明minSDK也会起作用吗?

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) 我的意思是检查xml源(有时图形编辑器与源特别是manifest.xml文件不同步)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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