gpt4 book ai didi

android - 构建失败 - 无法解析...的依赖关系无法解析项目

转载 作者:行者123 更新时间:2023-11-29 23:28:52 25 4
gpt4 key购买 nike

我正在使用 android studio 版本 3.2.1。我已将以下 repo 作为克隆并将该项目导入 AS。

LAYER Android-XDK-Messenger Github

在构建项目时,Android Studio 显示以下错误消息。

Unable to resolve dependency for ':app@debug/compileClasspath': Could 
not resolve project :xdk-ui.
Open File
Show Details


Unable to resolve dependency for
':app@debugAndroidTest/compileClasspath': Could not resolve project
:xdk-ui.
Open File
Show Details


Unable to resolve dependency for
':app@debugUnitTest/compileClasspath': Could not resolve project :xdk-
ui.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath':
Could not resolve project :xdk-ui.
Open File
Show Details


Unable to resolve dependency for
':app@releaseUnitTest/compileClasspath': Could not resolve project
:xdk-ui.
Open File
Show Details

渐变文件 enter image description here

构建.gradle

enter image description here

我已经检查了 Android Studio android 的在线状态,它已连接到互联网。

enter image description here

请帮忙。

最佳答案

我认为您的项目不完整,您尝试使用的项目中有 xdk-ui sdk(名为 Android-XDK @ 22ea7b0)作为模块,您必须从此处下载 https://github.com/layerhq/Android-XDK/tree/22ea7b0bc0f944522dfeb1b3c07f049d9c9bef2b粘贴它然后导入它然后编译它就可以正常工作。

关于android - 构建失败 - 无法解析...的依赖关系无法解析项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53059913/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com