Sloth Load Not Working

I’m trying to set up SlothLoad on Android Studio and I have tried several times but I keep getting error messages when trying to run the configuration. This is the one I’ve been stuck on:

Unknown host ‘repo.maven.apache.org’. You may need to adjust the proxy settings in Gradle.
Enable Gradle ‘offline mode’ and sync project
Learn about configuring HTTP proxies in Gradle

I think I have set up everything correctly, here is my build.gradle for TeamCode:

apply plugin: 'com.android.application'

apply from: '../build.common.gradle'
apply from: '../build.dependencies.gradle'

//sloth
apply plugin: 'dev.frozenmilk.sinister.sloth.load'

//sloth
buildscript {
    repositories {
        mavenCentral()
        google()
        maven {
            url "https://repo.dairy.foundation/releases"
        }
    }
    dependencies {
        classpath "dev.frozenmilk:Load:0.2.4"
    }
}

android {
    namespace = 'org.firstinspires.ftc.teamcode'

    packagingOptions {
        jniLibs.useLegacyPackaging true
    }
}

dependencies {
    implementation project(':FtcRobotController')

    //sloth
    implementation("dev.frozenmilk.sinister:Sloth:0.3.1")
}

I have also set up the configuration but i can’t upload an image because I am a new user so it won’t let me. Does anyone know why this isn’t working or is there anything else i need to post to clarify?

Sloth isn’t generally supported by FIRST Tech Challenge engineering staff, it has its own github repository that you can file issues against and get help. If you desire using Sloth during periods of heavy software development, that’s certainly your choice, but I highly recommend NOT running Sloth at competition events. A Competition Events, the technical staff at the event will not be able to help you when inevitably your Control Hub acts like it doesn’t know what’s installed on it any more.