gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
build.gradle ( project )
去掉
allprojects {
project.ext {
exoPlayerVersion = "2.8.1"
}
}
修改
buildscript {
ext.kotlin_version = '1.2.70'
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
}
替换为
gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
build.gradle ( project )
修改
buildscript {
ext.kotlin_version = '1.4.20'
dependencies {
classpath "com.android.tools.build:gradle:4.1.2"
}
}
Setting.gradle
gradle.ext.exoplayerRoot = '/Users/jzd/Movies/ExoPlayer'
gradle.ext.exoplayerModulePrefix = 'exoplayer-'
apply from: new File(gradle.ext.exoplayerRoot, 'core_settings.gradle')
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。