这个错误表示在项目中无法找到所需的依赖库。一种可能的原因是在项目的根目录下的build.gradle文件中没有正确配置该依赖库的地址。

要解决这个问题,你需要在根目录的build.gradle文件中添加以下代码:

allprojects {
    repositories {
        // 其他的仓库配置...
        maven { url 'https://jitpack.io' }
    }
}

在上述代码中,我们添加了JitPack的仓库地址。这是因为com.github.markushi:drag-controller库可能是通过JitPack发布的。

接下来,你需要在应用模块的build.gradle文件中添加以下代码:

dependencies {
    // 其他依赖...
    implementation 'com.github.markushi:drag-controller:1.0.0'
}

在上述代码中,我们将com.github.markushi:drag-controller:1.0.0添加到了依赖列表中。

完成以上步骤后,重新同步项目,该错误应该就会被解决

Androidstudio以及添加了comgithubmarkushidrag-controller100依赖 Could not find comgithubmarkushidrag-controller100Required by project app报错咋办

原文地址: http://www.cveoy.top/t/topic/iTbt 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录