Always Use Fragments

AndroidStudioError:Cause: unable to find valid cer

全局build.gradle配置修改为:

buildscript {
    repositories {
        google()
        jcenter()
    }

allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
}

gradle-wrapper.properties修改:

distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip

项目build.gradle配置修改:

使用implementation 关键字

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
implementation 'pub.devrel:easypermissions:0.1.7'
}


评论

© ID488026125 | Powered by LOFTER