Why proguard processes AndroidManifest.xml

后端 未结 1 1213
一生所求
一生所求 2020-12-03 11:51

I see some unexplained Proguard behaviour.

AFAIK proguard does not pay attention to android manifest. Also, in my proguard.cfg I have no mention of BroadcastReceiver

相关标签:
1条回答
  • 2020-12-03 12:39

    The build process runs the tool aapt to automatically create the configuration file bin/proguard.txt, based on AndroidManifest.xml and other xml files. The build process then passes the configuration file to ProGuard. So ProGuard itself indeed doesn't consider AndroidManifest.xml, but aapt+ProGuard do.

    0 讨论(0)
提交回复
热议问题