以下地址如果不能用了那就自己再找吧,可能人家换地址了,android引用如果不能用,请去github看最新地址
A:Jcenter仓库地址:https://jcenter.bintray.com/,可后缀地址精确到某个库,比如OKhttp库的引用为com.squareup.okhttp3:okhttp:3.9.0,
那么其在Jcenter库的位置就是 https://jcenter.bintray.com/com/squareup/okhttp3/okhttp/,不过前提是这个库在Jcenter上,
如果是在maven或者其他仓库那就不是这个了。
B:Google仓库地址:https://dl.google.com/dl/android/maven2/index.html
0、腾讯开源UI库:
github:https://github.com/QMUI/QMUI_Android
android引用:
com.qmuiteam:qmui:1.0.7
1、OKhttp:
github:https://github.com/square/okhttp
android引用:com.squareup.okhttp3:okhttp:3.9.0
2、Retrofit:
github:https://github.com/square/retrofit
android引用:com.squareup.retrofit2:retrofit:2.3.0
其他配套组件:
com.squareup.retrofit2:retrofit-adapters:2.3.0'com.squareup.retrofit2:retrofit-converters:2.3.0'
com.squareup.retrofit2:converter-gson:2.3.0'
com.squareup.retrofit2:adapter-rxjava2:2.3.0'
com.squareup.retrofit2:converter-scalars:2.3.0'
org.ligboy.retrofit2:converter-fastjson-android:2.1.0'
3、Rxjava:
github:https://github.com/ReactiveX/RxJava
android引用:io.reactivex.rxjava2:rxjava:2.1.3
4、上拉加载更多,下拉刷新的RecyclerView库:
github:https://github.com/mylhyl/Android-CommonRefreshLayout
android引用:com.mylhyl:commonrefreshlayout:2.4
5、优雅的打印日志的库logger:
github:https://github.com/orhanobut/logger
android引用:com.orhanobut:logger:2.1.1
6、Glide:(要加
repositories { mavenCentral() google() })
github:https://github.com/bumptech/glide
android引用:com.github.bumptech.glide:glide:4.3.1
7、Gson:
github:https://github.com/google/gson
android引用:com.google.code.gson:gson:2.8.2
8、eventbus:
github:https://github.com/greenrobot/EventBus
android引用:org.greenrobot:eventbus:3.0.0
9、fastjson:
github:https://github.com/alibaba/fastjson
android引用:com.alibaba:fastjson:1.1.63.android
10、butterknife:
github:https://github.com/JakeWharton/butterknife
android引用:com.jakewharton:butterknife:8.8.1
配套组件:annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
11、谷歌multidex:
github:
android引用:com.android.support:multidex:1.0.2
12、dagger:
github:https://github.com/square/dagger
android引用:com.google.dagger:dagger:2.9
13、阿里热更新alicloud-android-hotfix:
github:https://github.com/dodola/HotFix
android引用:com.aliyun.ams:alicloud-android-hotfix:3.1.9
需在app.build文件加
repositories {
maven {
url "http://maven.aliyun.com/nexus/content/repositories/releases"
}
}
14、rxbinding:
github:https://github.com/JakeWharton/RxBinding
android引用:com.jakewharton.rxbinding2:rxbinding:2.1.0
15、一个工具类库:
github:https://github.com/xiaodouyaer/CommonUtils
android引用:com.liuchaoya:commonutils:1.0.2