无法解析':app @ armv7DebugAndroidTest / compileClasspath'的依赖关系:无法解析

时间:2020-10-14 20:20:39

标签: android android-studio gradle android-gradle-plugin build.gradle

我是Android开发和Android Studio的新手,我无法构建自己在GitHub上创建的应用程序。

以下是Gradle构建中的错误:

Unable to resolve dependency for ':app@armv7DebugAndroidTest/compileClasspath': Could not resolve com.github.afollestad:async:0.2.3.

Unable to resolve dependency for ':app@armv7DebugUnitTest/compileClasspath': Could not resolve com.github.afollestad:async:0.2.3.

Unable to resolve dependency for ':app@armv7Debug/compileClasspath': Could not resolve com.github.afollestad:async:0.2.3.

联机或脱机运行此操作都会返回相关错误。

我知道特定的存储库不再可用或无法维护,但是我不确定如果要构建此应用程序该如何进行。

不出所料,如果我在build.gradle中注释掉该依赖性,则有许多类无法正确编译。有没有一种方法可以根据已折旧的依赖关系来构建该应用程序?

我试图将缺少的依赖项添加为库项目,并将其作为突出显示here添加到我的当前项目中,但是没有运气。

0 个答案:

没有答案