关闭

Could not resolve all files for configuration ':app:debugCompileClasspath

瞎溜达 1年前 ⋅ 1442 阅读
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
   > Could not find org.bytedeco.javacpp-presets:ffmpeg-platform:4.1.-1.4.4.
     Required by:
         project :app

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

     解决方案

添加:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.1.2'
        classpath 'org.greenrobot:greendao-gradle-plugin:3.3.0'
    }
}

添加完后的build.gradle:

 

 


全部评论: 0

    我有话说: