我想集成Vimeo API到我的Android应用程序,问题是在我添加依赖后,如
implementation "com.github.vimeo.vimeo-networking-java:vimeo-networking:3.12.0"
implementation "com.github.vimeo.vimeo-networking-java:models:3.12.0"
但在与我的项目同步后,当我尝试运行项目或构建它时,会显示此错误
BUILD FAILED in 968ms
21 actionable tasks: 8 executed, 13 up-to-date
Caused by:
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException:
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find
com.github.vimeo.vimeo-networking-java:3.12.0:.
注意我还添加了jitpack
2条答案
按热度按时间s4chpxco1#
你确定你已经正确地输入了依赖项吗?从错误来看你好像用了
而不是
tf7tbtn22#
我们必须在settings.gradle文件中的dependencyResolutionManagement中添加maven { url 'https:jitpack.io' }