Android快速开发-常用三方包集成大全

一、官方支持库
compile ‘com.android.support:appcompat-v7:26.1.0’

compile ‘com.android.support:support-v4:26.1.0’

compile ‘com.android.support:recyclerview-v7:26.1.0’

compile ‘com.android.support:support-v13:26.1.0’

compile ‘com.android.support:design:26.1.0’

compile ‘com.android.support:cardview-v7:26.1.0’

目前最新版本27.0.1,需要compileSdkVersion 27

二、第三方库
部分库是jitpack的发布方式,需要在project下的build.gradle中加上(可直接加上,一劳永逸)

allprojects { repositories { maven { url “https://jitpack.io” } }}
工具

Gson
compile ‘com.google.code.gson:gson:2.8.2’

GitHub:https://github.com/google/gson

相关文章:Gson 解析教程

Glide
compile ‘com.github.bumptech.glide:glide:4.6.1’

annotationProcessor ‘com.github.bumptech.glide:compiler:4.6.1’

GitHub:https://github.com/bumptech/glide

相关文章:带你全面了解Glide 4的用法

Glide Transformations
compile ‘jp.wasabeef:glide-transformations:3.0.1’

Github:https://github.com/wasabeef/glide-transformations

Picasso
compile ‘com.squareup.picasso:picasso:2.5.2’

官网:http://square.github.io/picasso/

GitHub:https://github.com/square/picasso

相关文章:picasso-强大的Android图片下载缓存库

Picasso Transformations
compile ‘jp.wasabeef:picasso-transformations:2.1.2’

Github:https://github.com/wasabeef/picasso-transformations

Butter Knife
compile ‘com.jakewharton:butterknife:8.8.1’

annotationProcessor ‘com.jakewharton:butterknife-compiler:8.8.1’

官网:http://jakewharton.github.io/butterknife/

GitHub:https://github.com/JakeWharton/butterknife

相关文章:Butter Knife 配置和使用及插件

Dagger 2(Google)
compile ‘com.google.dagger:dagger:2.x’

annotationProcessor ‘com.google.dagger:dagger-compiler:2.x’

Github:https://github.com/google/dagger

EventBus
compile ‘org.greenrobot:eventbus:3.0.0’

Github:https://github.com/greenrobot/EventBus

相关文章:EventBus使用详解(一)——初步使用EventBus
EventBus使用详解(二)——EventBus使用进阶

greenDAO
compile ‘org.greenrobot:greendao:3.2.2”

Github:https://github.com/greenrobot/greenDAO

相关文章:玩转Android之数据库框架greenDAO3.0使用指南

PermissionsDispatcher(6.0权限)
compile(“com.github.hotchemi:permissionsdispatcher:3.0.1”) {
// if you don’t use android.app.Fragment you can exclude support for them
exclude module: “support-v13”
}

annotationProcessor “com.github.


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部