请参考官方文档 Android Jetpack API

    /****     *     * AndroidX libs     */    implementation 'androidx.annotation:annotation:1.0.0-rc01'    implementation 'androidx.appcompat:appcompat:latest.release'    implementation 'androidx.arch.core:core-common:latest.release'    implementation 'androidx.arch.core:core-runtime:latest.release'    implementation 'androidx.collection:collection:latest.release'    implementation 'androidx.core:core-ktx:latest.release'    implementation 'androidx.core:core:latest.release'    implementation 'androidx.cursoradapter:cursoradapter:latest.release'    implementation 'androidx.customview:customview:latest.release'    implementation 'androidx.databinding:databinding-adapters:latest.release'    implementation 'androidx.databinding:databinding-common:latest.release'    implementation 'androidx.databinding:databinding-compiler-common:latest.release'    implementation 'androidx.databinding:databinding-compiler:latest.release'    implementation 'androidx.databinding:databinding-runtime:latest.release'    implementation 'androidx.documentfile:documentfile:latest.release'    implementation 'androidx.interpolator:interpolator:latest.release'    implementation 'androidx.leanback:leanback:latest.release'    implementation 'androidx.legacy:legacy-support-core-ui:latest.release'    implementation 'androidx.legacy:legacy-support-core-utils:latest.release'    implementation 'androidx.legacy:legacy-support-v13:latest.release'    implementation 'androidx.legacy:legacy-support-v4:latest.release'    //lifecycle    implementation 'androidx.lifecycle:lifecycle-common:latest.release'    implementation 'androidx.lifecycle:lifecycle-compiler:latest.release'    implementation 'androidx.lifecycle:lifecycle-extensions:latest.release'    implementation 'androidx.lifecycle:lifecycle-livedata-core:latest.release'    implementation 'androidx.lifecycle:lifecycle-livedata:latest.release'    implementation 'androidx.lifecycle:lifecycle-process:latest.release'    implementation 'androidx.lifecycle:lifecycle-runtime:latest.release'    implementation 'androidx.lifecycle:lifecycle-service:latest.release'    implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:latest.release'    implementation 'androidx.lifecycle:lifecycle-viewmodel:latest.release'    //loader    implementation 'androidx.loader:loader:latest.release'    implementation 'androidx.localbroadcastmanager:localbroadcastmanager:latest.release'    //media    implementation 'androidx.media:media:latest.release'    //multidex    implementation 'androidx.multidex:multidex-instrumentation:latest.release'    implementation 'androidx.multidex:multidex:latest.release'    //paging    implementation 'androidx.paging:paging-common:latest.release'    implementation 'androidx.paging:paging-runtime:latest.release'    //preference    implementation 'androidx.preference:preference:latest.release'    // print    implementation 'androidx.print:print:latest.release'    // room database    implementation 'androidx.room:room-common:latest.release'    implementation 'androidx.room:room-compiler:latest.release'    implementation 'androidx.room:room-migration:latest.release'    implementation 'androidx.room:room-runtime:latest.release'    implementation 'androidx.room:room-rxjava2:latest.release'    implementation 'androidx.room:room-testing:latest.release'    //sqlite    implementation 'androidx.sqlite:sqlite-framework:latest.release'    implementation 'androidx.sqlite:sqlite:latest.release'    //ui    implementation 'androidx.recyclerview:recyclerview:latest.release'    implementation 'androidx.slidingpanelayout:slidingpanelayout:latest.release'    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:latest.release'    implementation 'androidx.viewpager:viewpager:latest.release'    implementation 'androidx.asynclayoutinflater:asynclayoutinflater:latest.release'    implementation 'androidx.browser:browser:latest.release'    implementation 'androidx.cardview:cardview:latest.release'    implementation 'androidx.constraintlayout:constraintlayout-solver:latest.release'    implementation 'androidx.constraintlayout:constraintlayout:latest.release'    implementation 'androidx.coordinatorlayout:coordinatorlayout:latest.release'    implementation 'androidx.drawerlayout:drawerlayout:latest.release'    implementation 'androidx.fragment:fragment-ktx:latest.release'    implementation 'androidx.fragment:fragment:latest.release'    //percentlayout    implementation 'androidx.percentlayout:percentlayout:latest.release'    //test    implementation 'androidx.test.espresso:espresso-core:latest.release'    implementation 'androidx.test.espresso:espresso-idling-resource:latest.release'    implementation 'androidx.test:monitor:latest.release'    implementation 'androidx.test:rules:latest.release'    implementation 'androidx.test:runner:latest.release'    //transition    implementation 'androidx.transition:transition:latest.release'    //auto & tv & wear    implementation 'androidx.tvprovider:tvprovider:latest.release'    //vector    implementation 'androidx.vectordrawable:vectordrawable:latest.release'    implementation 'androidx.vectordrawable:vectordrawable-animated:latest.release'    implementation 'androidx.versionedparcelable:versionedparcelable:latest.release'
注:

    latest.release 的话会获取到最新的正式版本
    latest.integration会获取到最新的版本,可能是正式版本,也可能是测试版本

更多相关文章

  1. Android 系统版本
  2. Android检测版本更新(读取apk配置文件中的版本信息)
  3. Android各版本占比信息统计
  4. Android api对应系统版本
  5. Android获取手机的型号和系统版本
  6. Android中如何获取应用版本号
  7. API 23及之后版本关于用android studio 中LocationManager的方法
  8. AndFire防火墙1.2版本发布

随机推荐

  1. android资源文件中xliffg:g的用法
  2. Android(安卓)第十三课——ListView List
  3. Android(安卓)中的单元测试
  4. Android的Activity屏幕切换动画
  5. 在Linux下adb连接不上android手机的终极
  6. Android4.0中蓝牙适配器state machine(状
  7. android 键盘 send按钮
  8. android 实例和分析
  9. 关于android app跳转和从web跳转的问题(
  10. Android之adb环境变量配置标签