android 项目依赖和权限
来源:互联网 发布:录制游戏的软件 编辑:程序博客网 时间:2024/06/07 04:57
1.依赖
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' compile 'com.jakewharton:butterknife:8.8.1' compile 'com.android.support:recyclerview-v7:26.0.0-alpha1' compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'com.squareup.retrofit2:converter-gson:2.3.0' compile 'com.facebook.fresco:fresco:0.12.0' compile 'com.facebook.fresco:animated-base-support:0.12.0' compile 'com.facebook.fresco:animated-webp:0.12.0' compile 'com.facebook.fresco:webpsupport:0.12.0' compile 'io.reactivex.rxjava2:rxjava:2.1.7' compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' compile 'io.reactivex.rxjava2:rxandroid:2.0.1' compile 'com.squareup.okhttp3:okhttp:3.9.0' compile 'com.google.code.gson:gson:2.8.1'
compile 'com.squareup.okhttp3:okhttp:3.9.0' //compile 'com.squareup.okio:okio:1.5.0' compile 'com.squareup.okhttp3:okhttp:3.2.0' compile 'com.squareup.okhttp3:logging-interceptor:3.4.1' compile 'com.google.code.gson:gson:2.8.2' compile 'com.youth.banner:banner:1.4.9' compile 'com.android.support:recyclerview-v7:26.0.0-alpha1' compile 'com.jcodecraeer:xrecyclerview:1.3.2' compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'org.greenrobot:greendao:3.2.2' // greendao依赖 //黄油刀 compile 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' compile 'com.android.support:recyclerview-v7:26.0.0-alpha1' //Retrofit compile 'com.squareup.retrofit2:retrofit:2.3.0'//retrofit依赖 //compile 'com.squareup.retrofit2:converter-scalars:2.1.0 '//场景是这样,服务端返回一个不定类型的json数据,无法确定映射的Gson对象。 compile 'com.squareup.retrofit2:converter-gson:2.1.0'//retrofit内部封装的GSON //compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'//log //fresco compile 'com.facebook.fresco:fresco:0.12.0' // 在 API < 14 上的机器支持 WebP 时,需要添加 compile 'com.facebook.fresco:animated-base-support:0.12.0' // 支持 WebP (静态图+动图),需要添加 compile 'com.facebook.fresco:animated-webp:0.12.0' compile 'com.facebook.fresco:webpsupport:0.12.0' //BottomTabBar compile 'com.hjm:BottomTabBar:1.1.1' //Eventbus compile 'org.greenrobot:eventbus:3.1.1' //Rxjavacompile 'io.reactivex:rxjava:1.0.14'
compile 'io.reactivex:rxandroid:1.0.1'
//GreenDao注释greendao { schemaVersion 1 daoPackage 'com.example.dell.week1.gen' targetGenDir 'src/main/java'}//GrennDao工程添加buildscript { repositories { jcenter() mavenCentral() // add repository } dependencies { classpath 'com.android.tools.build:gradle:2.3.3' classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }}
//ok网络请求compile 'com.squareup.okhttp3:okhttp:3.9.1'//recyclerview 与 xrecyclerviewcompile 'com.android.support:recyclerview-v7:26.0.0-alpha1'compile 'com.jcodecraeer:xrecyclerview:1.5.2'//图片加载compile 'com.github.bumptech.glide:glide:3.6.0'compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'compile 'com.facebook.fresco:fresco:0.12.0'//底部栏compile 'com.hjm:BottomTabBar:1.1.0'//解析compile 'com.google.code.gson:gson:2.8.1'//轮播compile 'com.youth.banner:banner:1.4.9'//二维码compile 'cn.yipianfengye.android:zxing-library:2.2'//样式cardviewcompile 'com.android.support:cardview-v7:22.2.0'//eventbuscompile 'org.greenrobot:eventbus:3.1.1'//butterknifecompile 'com.jakewharton:butterknife:8.8.1'annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'//greendaocompile 'org.greenrobot:greendao:3.2.2'//Snackbarcompile 'com.android.support:design:23.4.0'//下拉 动画compile 'com.jude:swipebackhelper:3.1.2'compile 'com.wang.avi:library:2.1.3'//fabcompile 'com.github.clans:fab:1.6.4'
Okhttp请求以及Gson解析
compile 'com.squareup.okio:okio:1.5.0'compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
compile 'com.google.code.gson:gson:2.8.2'
banner使用
compile 'com.youth.banner:banner:1.4.9'
compile 'com.github.bumptech.glide:glide:3.7.0'
recyclerView
compile 'com.android.support:mediarouter-v7:25.0.0'
compile 'com.android.support:appcompat-v7:25.0.0'
compile 'com.android.support:recyclerview-v7:25.0.0'
compile 'com.jcodecraeer:xrecyclerview:1.3.2'
二维码的zxing
compile 'com.github.open-android:Zxing:v1.0.3'
imageolader
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
logger日志的使用
compile 'com.orhanobut:logger:2.1.1'
xrecyclerview
compile 'com.jcodecraeer:xrecyclerview:1.3.2'
tablayout
compile 'com.android.support:design:23.4.0'
RXJAVA加retrofit
compile 'com.squareup.retrofit2:retrofit:2.0.1'
compile 'com.squareup.retrofit2:converter-gson:2.0.1'
compile 'com.squareup.retrofit2:adapter-rxjava:2.0.1'
compile 'io.reactivex:rxandroid:1.1.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'
eventbus
compile 'org.greenrobot:eventbus:3.0.0'
2.权限
<uses-permission android:name="android.permission.INTERNET"></uses-permission> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></uses-permission> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
阅读全文
0 0
- android 项目依赖和权限
- Android-权限和依赖
- android 常用权限和依赖
- Android常用权限和依赖
- Android常用依赖和权限
- android 常用权限和依赖
- Android常用权限和 依赖
- android 常用权限和依赖
- Android 常用权限和依赖
- android 常用权限和依赖
- android 常用权限和依赖
- android 常用权限和依赖
- android 常用权限和依赖
- android 常用权限和依赖
- android 常用权限和依赖
- android 常用权限和依赖
- android 常用权限和依赖
- android 常用权限和依赖
- C++类型萃取
- 刷波面试题
- JAVA连接MySQL数据库
- 求100到300间能被3整除的数的和
- 18号南京阿里C++面试经验分享
- android 项目依赖和权限
- LINUX 0.11内核完全剖析学习笔记-第三章内核编程语言和环境
- php基础汇总
- hdoj 2639 Bone Collector II (01背包的第k优解)
- 安卓网络请求 httpconnection
- 云邦互联 免费空间
- Android引入react native
- 算法提高 盾神与条状项链
- Intellij IDEA设置(一) main方法自动补全