flutter中的video_player的依赖,在Package get 中并没出现错误,只是在run的时候报
Could not find com.google.android.exoplayer:exoplayer-core:2.x.x
下面什么本地查询不到之类的东西
翻墙查询了一些资料(本地搜索引擎并没有提供有价值的东西)
1.找到video_player中的build.grade
2.黏贴
maven {
url 'http://repo.spring.io/plugins-release/'
}
具体位置:
rootProject.allprojects {
repositories {
google()
jcenter()
maven {
url 'http://repo.spring.io/plugins-release/'
}
}
}