Android添加所需要的库  对应这库的Group ID、Artifact Name和Requested Version 

dependencies {
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:28.0.0-alpha3'

    implementation 'cn.bmob.android:bmob-sdk:3.6.9-rc2'
    implementation "io.reactivex.rxjava2:rxjava:2.2.2"
    implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
    implementation 'com.squareup.okio:okio:2.1.0'
    implementation 'com.google.code.gson:gson:2.8.5'
    implementation 'com.squareup.okhttp3:okhttp:3.12.0'

    implementation 'com.android.support:recyclerview-v7:28.0.0-alpha3'
    implementation 'com.android.support:percent:28.0.0-alpha3'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'

    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

例如:冒号里分别填写如下Android配置问题

操作步骤: 

Android配置问题

Android配置问题

搜索需要的库:

Android配置问题 

相关文章:

  • 2021-08-27
  • 2021-05-09
  • 2021-11-24
  • 2022-01-21
  • 2021-06-11
  • 2021-08-29
  • 2021-05-09
  • 2021-10-31
猜你喜欢
  • 2022-01-08
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
  • 2021-07-01
  • 2021-06-24
相关资源
相似解决方案