简体   繁体   中英

How to merge two manifest files in an android project

I have a thirdparty library added in my android project. 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

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