首先是添加Jar包
进入Gradle Scripts的目录,添加Jar包都在这里
首先是Project这个的allprojects里面加上一行allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
在app这个里面denpendencies中弄成这样子的dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation '