我正试图通过Android向我的项目添加LiquidCore依赖项。
因此,我添加了Jitpack项目的build.gradle,类似于:
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
maven {
url 'https://jitpack.io'
name 'Jitpack'
}
}
}然后我去了文件->项目结构->应用程序->依赖项-> i单击+ ->我选择了库依赖项

然后我输入了LiquidCore -> nothing。然后我又输入了LiquidPlayer -> nothing。
当我手动时,将其添加到应用程序的build.gradle中
dependencies {
//other
implementation 'com.github.LiquidPlayer:LiquidCore:0.5.1'
}那就成功了。为什么第一条路找不到它?
发布于 2019-02-07 10:22:40
这不是问题。我也没有按你的第一条路找到别的图书馆。我们必须手动添加。
https://stackoverflow.com/questions/54571019
复制相似问题