我正在尝试构建一个android项目,并不断收到下面的gradle构建错误。
虽然它可以在另一台Mac中正常工作。
[Fatal Error] paycardsrecognizer-1.1.0.pom:2:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] onfido-capture-sdk-5.0.0.pom:2:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] rootbeer-0.0.7.pom:2:3: The markup in the document preceding the root element must be well-formed.
[Fatal Error] onfido-capture-sdk-core-5.0.0.pom:2:3: The markup in the document preceding the root element must be well-formed.
最佳答案
我认为这会有所帮助。我已经遇到了这个问题,我在3天前(2020年6月1日)开放的Github上发现了这个问题。
有一个临时解决方案。您可以订阅此问题,以了解将来会发生什么。
https://github.com/faceterteam/PayCards_Android/issues/49
关于android - 获取根元素必须格式正确。 Android版本中的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62192020/