简体   繁体   English

库清单未与最终清单文件合并

[英]Manifest of library is not merged with the final manifest file

Recently I have created a library that does somethings using content providers . 最近,我创建了一个使用内容提供程序执行某些操作
I made a wrapper of that for B4A . 为B4A做了一个包装
The problem is it's content providers are not invoked when the app starts (as they should). 问题在于应用程序启动时未调用内容提供程序 (应如此)。

When I look at the final manifest I see that the manifest content of the library is not merged with the final manifest . 当我查看最终清单时,我看到清单内容未与最终清单合并
I made a function to make sure library files and variables are readable within the basic code and they are. 我做了一个函数来确保库文件和变量在基本代码中是可读的。


My question is Will the manifest of libraries be merged with the app manifest or I have to add them myself? 我的问题是 库清单 是否 会与应用清单合并,还是我必须自己添加它们?

As I read, Basic4Android (B4A) will not merge library manifests . 如我所读, Basic4Android(B4A)不会合并库清单
So this means the developer has to do it by himself . 因此,这意味着开发人员必须自己完成

If you have a library that has some AndroidManifest contents, you must add all of them into the manifest editor (some of them can be added using the wrapper jar file). 如果您的库包含一些AndroidManifest内容,则必须将它们全部添加到清单编辑器中 (其中一些可以使用包装jar文件添加)。

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

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