android开发常用依赖包

常用的依赖

	//OkHttp
	compile 'com.squareup.okhttp3:okhttp:3.9.0'
	//Gson
	compile 'com.google.code.gson:gson:2.8.2'
	//imageLoader的依赖包
	compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
	//二维码依赖包:
	compile 'com.github.jwkj:LibZXing:v1.0.4'
	
	
	//ButterKnife的依赖
	compile 'com.jakewharton:butterknife:8.8.1'
	annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

    //retrofit2的依赖
    compile 'com.squareup.retrofit2:retrofit:2.3.0'
    compile 'com.squareup.retrofit2:converter-gson:2.3.0'
	compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
	//rxJava2的依赖
	compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
	// Because RxAndroid releases are few and far between, it is recommended you also
	// explicitly depend on RxJava's latest version for bug fixes and new features.
	compile 'io.reactivex.rxjava2:rxjava:2.1.7'
	
	compile 'com.squareup.retrofit2:adapter-rxjava:2.3.0'
	//rxJava的依赖
	compile 'io.reactivex:rxandroid:1.2.1'
    // Because RxAndroid releases are few and far between, it is recommended you also
    // explicitly depend on RxJava's latest version for bug fixes and new features.
	compile 'io.reactivex:rxjava:1.1.6'
    //拦截器的依赖
    compile 'com.squareup.okhttp3:logging-interceptor:3.9.1'
    //recyclerview的依赖
    implementation 'com.android.support:recyclerview-v7:26.1.0'
    //banner的依赖
    compile 'com.youth.banner:banner:1.4.10'
    //eventbus的依赖
    compile 'org.greenrobot:eventbus:3.0.0'
    //Fresco的依赖
    compile 'com.facebook.fresco:fresco:1.5.0'
    //glide的依赖
    compile 'com.github.bumptech.glide:glide:3.7.0'
    //xrecyclerview的依赖
    compile 'com.jcodecraeer:xrecyclerview:1.3.2'
	//QMUI的依赖
	compile 'com.qmuiteam:qmui:1.0.6'
	
	//在gradle.properties中关闭APPT2 编译
	android.enableAapt2=false

常用的权限

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值