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?