我已经尝试过几次以使我的应用程序上的依赖关系正确。当我使用外部库时,项目将同步,但是我一直无法在本地同步依赖项。我需要本地依赖项才能使用flac扩展。本地exoplayer扩展的正确格式是什么?
构建gradle:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.google.android.exoplayer:exoplayer-core:2.9.6'
implementation 'com.programmer.philip.nowtechnology_004:exoplayer-library-dash:2.9.6'
implementation ':exoplayer-ui:2.9.6'
implementation ':exoplayer-extension-flac'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
ERROR: Failed to resolve: com.programmer.philip
Affected Modules: app
ERROR: Failed to resolve: :exoplayer-ui:2.9.6
Affected Modules: app
ERROR: Failed to resolve: :exoplayer-extension-flac:
Affected Modules: app
我尝试了各种组合,但都不起作用。