MagicIndicator
MagicIndicator copied to clipboard
Failed to resolve: com.github.hackware1993:MagicIndicator:1.6.0
我的文件为 build.gradle
android {
compileSdk 31
defaultConfig {
applicationId "com.example.myhimalaya"
minSdk 24
targetSdk 31
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
maven {
// allowInsecureProtocol = true
url 'https://jitpack.io'
}
}
dependencies {
classpath "com.android.tools.build:gradle:7.0.4"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
// google()
mavenCentral()
maven {
url "https://jitpack.io"
}
}
}