美文网首页
INSTALL_PARSE_FAILED_MANIFEST_MA

INSTALL_PARSE_FAILED_MANIFEST_MA

作者: new_xd | 来源:发表于2018-08-29 22:34 被阅读0次

参考链接 https://stackoverflow.com/questions/6056564/installation-error-install-parse-failed-manifest-malformed

问题

一个demo项目,如果activity的manifest这么写

android:taskAffinity="second"

就会安装失败,提示 Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

原因

android:taskAffinity 这个属性的值必须包括“.”,像这样

android:taskAffinity=".second"

然而 官方文档没有说明 https://developer.android.google.cn/guide/topics/manifest/activity-element#aff

相关文章

网友评论

      本文标题:INSTALL_PARSE_FAILED_MANIFEST_MA

      本文链接:https://www.haomeiwen.com/subject/zqdlwftx.html