Android常用依赖

//retrofit
    implementation 'com.squareup.retrofit2:retrofit:2.3.0'
//rxjava
    implementation 'io.reactivex.rxjava2:rxjava:2.1.1'
//rxandroid
    implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
//配合Rxjava 使用
    implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
//转换器 将结果通过gson将json串转换为model
    implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
//GSON库
    implementation 'com.google.code.gson:gson:2.8.1'
//okhttp
    implementation 'com.squareup.okhttp3:okhttp:3.10.0'
//okhttp日志拦截器
    implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
//recyclerview
    implementation 'com.android.support:recyclerview-v7:27.1.1'
//fresco
    implementation 'com.facebook.fresco:fresco:0.12.0'
//ecentBus
    implementation 'org.greenrobot:eventbus:3.1.1'
//okhttp
    compile 'com.squareup.okhttp3:okhttp:3.6.0'
    compile 'com.squareup.okio:okio:1.11.0'
 //gson
    compile 'com.google.code.gson:gson:2.8.2'
//xrecyclerview
	compile 'com.jcodecraeer:xrecyclerview:1.5.9'
//banner
    compile 'com.youth.banner:banner:1.4.10'
//recyclerview
    implementation 'com.android.support:recyclerview-v7:27.1.1'
//glide
    implementation 'com.github.bumptech.glide:glide:4.7.1'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
//LitePal数据库
    compile 'org.litepal.android:core:1.4.1'
//GifView
	compile 'com.github.Cutta:GifView:1.1'  
//CityPicker
	implementation 'com.zaaach:citypicker:2.0.1'
//imageloader
	compile 'com.zftlive.android.library:feature-android-imageloader:1.0.0'
//圆角依赖
	compile ‘de.hdodenhof:circleimageview:2.1.0’

PS:AS3.1.2版本(可能是3.0版本以后)添加依赖时会报错


解决方法:加入implementation 'com.android.support:design:27.1.1'


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值