Failed to resolve: com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0

在allprojects下的repositories闭包里面添加jcenter()maven {url 'https://jitpack.io'},具体可以看你的第三方框架需要添加什么仓库,大多数都只需要上面两个。

我的build.gradle(Project)完整内容如下:

bash 复制代码
buildscript {
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:4.2.1"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
        google()
        mavenCentral()
        maven {
            url 'https://jitpack.io'
        }
    }
}
task clean(type: Delete) {
    delete rootProject.buildDir
}

每个人都是有缺陷的,即使外表看起来很无暇。

相关推荐
东风西巷几秒前
ProCCD复古相机:捕捉复古瞬间
android·数码相机·智能手机·生活·软件需求
何盖(何松影)8 小时前
Android T startingwindow使用总结
android
小李飞飞砖10 小时前
Android 依赖注入框架详解
android
SUNxuetian10 小时前
【Android Studio】升级AGP-8.6.1,Find Usage对Method失效的处理方法!
android·ide·gradle·android studio·安卓
阿华的代码王国10 小时前
【Android】搭配安卓环境及设备连接
android·java
__water10 小时前
RHA《Unity兼容AndroidStudio打Apk包》
android·unity·jdk·游戏引擎·sdk·打包·androidstudio
一起搞IT吧13 小时前
相机Camera日志实例分析之五:相机Camx【萌拍闪光灯后置拍照】单帧流程日志详解
android·图像处理·数码相机
浩浩乎@13 小时前
【openGLES】安卓端EGL的使用
android
Kotlin上海用户组15 小时前
Koin vs. Hilt——最流行的 Android DI 框架全方位对比
android·架构·kotlin
zzq199615 小时前
Android framework 开发者模式下,如何修改动画过度模式
android