Android 共享库项目清单
我在我的库项目清单和使用该库项目的其他项目清单中声明了 minSDK。我收到客户的投诉,称该 apk 无法安装。
这是他们报告的日志文件...
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
设备是否正在读取两个清单?我不知道如何阅读这个。仅在启动器项目中声明 minSDK 也可以吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在清单中检查您的代码是否正确。我的意思是检查 xml 源(有时图形编辑器与源不同步,尤其是与 manifest.xml 文件不同步)
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)