简体   繁体   English

如何解决此失败的处理清单错误

[英]How to resolve this failed processing manifest error

Image here图片在这里

在此处输入图片说明

How to resolve this error如何解决此错误

It has been a long time after this question has been asked.问这个问题已经很长时间了。 But I have been dealing with this problem and wanted to give my answer.但我一直在处理这个问题,想给出我的答案。 Android studio does not give the exact reason why your manifest can not process building. Android Studio 没有给出您的清单无法处理构建的确切原因。 Since it is a xml file you should go to your manifest file, go to redness and try to read the suggestion by android studio.由于它是一个 xml 文件,您应该转到清单文件,转到红色并尝试阅读 android studio 的建议。 In my case, I have deleted the string value, I thought I was not using it, yet I was using it in就我而言,我已经删除了字符串值,我以为我没有使用它,但我在使用它

android:label="@string/custom_app_dialog"

part.部分。 Then I added my string value back, it is all good now.然后我添加了我的字符串值,现在一切都很好。

If AppTheme.NoActionBar does not exist on your styles.xml then add this on styles.xml如果您的styles.xml中不存在AppTheme.NoActionBar ,则将其添加到styles.xml

<style name="AppTheme.NoActionBar">
    <item name="windowNoTitle">true</item>
    <item name="windowActionBar">false</item>
    <item name="android:windowFullscreen">true</item>
    <item name="android:windowContentOverlay">@null</item>

This will help to solve this problem.这将有助于解决这个问题。

简单回答,删除你的releasebuild文件夹

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM