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/'
        }
    }
}
GitHub 加速计划 / ex / ExoPlayer
0
1
下载
最近提交(Master分支:2 个月前 )
dd430f70 - 1 年前
c00f90aa (cherry picked from commit 5b2b7f4e6147678dc56ce28826682ba21c4c9508) 1 年前
Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐