[英]How to merge two manifest files in an android project
I have a thirdparty library added in my android project. 我的android项目中添加了第三方库。 There are two activities defined in the manifest file of that library project.
该库项目的清单文件中定义了两个活动。 When I am running the app on the phone, it is crashing saying that activity not defined in the manifest file of my main project.
当我在手机上运行应用程序时,它崩溃说我的主项目的清单文件中没有定义活动。 Should I include the activities defined in the manifest file of the library into the manifest file of my project?
我应该将库的清单文件中定义的活动包含到项目的清单文件中吗?
Use 采用
manifestmerger.enabled=true
inside the project.properties file project.propertid文件中的
manifestmerger.enabled=true
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.