- Android Studio 处理 Manifest merge
- Manifest merger failed with mult
- Manifest merger failed with mult
- Manifest merger failed with mult
- Manifest merger failed with mult
- Manifest merger failed with mult
- Manifest merger failed with mult
- Manifest merger failed with mult
- Manifest merger failed with mult
- Manifest merger failed with mult
这是因为不同module的Manifest merge的时候出现了重复。
解决办法是 到你的「processDebugManifest」module的Mainifest里面加入这样的语句:
<application
android:allowBackup="true"
android:label="@string/app_name"
tools:replace="label,allowBackup">
意思是如果merge manifest,就用别处的allowBackup和label值替换这里的。
[1]android studio使用错误排查记录
[2]http://tools.android.com/tech-docs/new-build-system/user-guide/manifest-merger
作者:知还
链接:https://www.zhihu.com/question/36645628/answer/128068811
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
网友评论