PayCards Android依赖项错误|无法解决所有任务依赖关系以进行配置 [英] PayCards Android Dependencies Errors | Could not resolve all task dependencies for configuration

查看:175
本文介绍了PayCards Android依赖项错误|无法解决所有任务依赖关系以进行配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近迁移到Android Studio 4.0,并决定更新所有依赖项,包括Gradle。



当我尝试编译应用程序时,此错误 [下图显示了



这种类型的错误通常在更新库时发生,所以我决定返回上一个提交没有进行任何修改,但令我惊讶的是该错误仍然存​​在。



我继续检查网络上的一些类似错误,并使用gradle和依赖项进行了几处更改。即使我回到了以前的Android 3.5版本,也出现了错误仍然存在。



我不明白错误可能是什么。此图像显示了我正在使用的Gradle的版本以及显示的错误,我认为这与POM分析器有关。

  [致命错误]获取根元素必须格式正确。 android build 

有人知道什么可能是错吗?



我正在使用的某些库也有错误(例如:支付卡)。

解决方案

今天是2020年6月4日,我已经进行了一些研究。实际上确实有人犯此错误,所以我在PayCards库的Github未解决问题部分找到了一个临时解决方案。



此问题已于3天前打开,因此我认为这是图书馆的新问题。



https://github.com/faceterteam/PayCards_Android/issues/49


I recently migrated to Android Studio 4.0 and made the decision to update all dependencies, including Gradle.

When I tried to compile the app, this error [the image below] is shown.

This type of error usually happens when libraries are updated, so I decided to go back to a previous commit where I didn't make any modifications but I was surprised that the error was still there.

I proceeded to check some similar errors on the network and made several changes with my gradle and dependencies .. even i went back to the previous version of Android 3.5 but the error persists.

I don't understand what the error might be. This image shows the versions of Gradle that I am using and the error that is displayed, I think it has to do with POM parser.

   [Fatal Error ]Getting root element must be well-formed. error in android build

Does anyone knows what might be wrong?

There is also an error with some libraries i am using (for example: paycards). https://github.com/faceterteam/PayCards_Android the error shown is: The markup in the document following the root element must be well-formed (but its in spanish... why???)

解决方案

Today is 4 jun 2020 and i've made some research. there is actually some people with this error so i found a temporal solution an the Github 'Open Issues' segment of the PayCards library.

This issue was opened 3 days ago so i think its a new issue with the library.

https://github.com/faceterteam/PayCards_Android/issues/49

这篇关于PayCards Android依赖项错误|无法解决所有任务依赖关系以进行配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆