从清单中读取属性时,XPath表达式格式错误

时间:2018-09-21 08:40:10

标签: android android-studio android-gradle

我在主项目上添加了一个项目,并试图对其进行构建,以使其与主项目合并

我收到此错误

:searchviewlayout:processDebugManifest UP-TO-DATE
[Fatal Error] :1:1: Content is not allowed in prolog.
:searchviewlayout:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':searchviewlayout:processDebugResources'.
  

从清单中读取属性时格式错误的XPath表达式,exp = / manifest / @ package

我不确定问题出在哪里,因为下面是AndroidManifest.xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="xyz.sahildave.widget">

<application android:allowBackup="true"/>

这里需要帮助

0 个答案:

没有答案