API过时怎么办?(靠!不用管!!看error)
来源:互联网 发布:meta分析怎么提取数据 编辑:程序博客网 时间:2024/05/18 03:08
日志继续往下拉!!!!!!!看error搜索error的原因!!!
闲的蛋疼可以在moudle的gradel中加入
allprojects { gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" } }}
查看具体的警告原因
apply plugin: 'com.android.application'android { compileSdkVersion 23 buildToolsVersion "23.0.2" sourceSets{ mian{ jniLibs.srcDirs = ['libs'] } } defaultConfig { applicationId "com.jiawabang" minSdkVersion 14 targetSdkVersion 23 versionCode 1 versionName "1.1.0" ndk { //选择要添加的对应cpu类型的.so库。 abiFilters 'armeabi', 'armeabi-v7a', 'armeabi-v8a','x86', 'x86_64', 'mips', 'mips64','arm64-v8a','armeabi ' // 还可以添加 'x86', 'x86_64', 'mips', 'mips64' } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }}allprojects { gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" } }}dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.2.0' compile files('libs/gson-2.6.2.jar') compile files('libs/jg_filter_sdk_1.1.jar') compile files('libs/okhttp-3.2.0.jar') compile files('libs/okhttputils-2_6_2.jar') compile files('libs/okio-1.9.0.jar') compile files('libs/umeng-analytics-v6.0.1.jar') compile files('libs/utdid4all-1.0.4.jar') compile files('libs/wup-1.0.0.E-SNAPSHOT.jar') compile files('libs/Xg_sdk_v2.46_20160602_1638.jar') compile files('libs/xUtils-2.6.14.jar') compile 'com.android.support:design:23.2.0' compile files('libs/jpush-android-2.1.9.jar')}
0 0
- API过时怎么办?(靠!不用管!!看error)
- 商业模式过时了怎么办
- setOnPageChangeListener 过时了怎么办?
- setOnPageChangeListener 过时了怎么办?
- setOnPageChangeListener 过时了怎么办?
- 员工不服管,怎么办?
- 不用管这个QwQ
- 过时api LocalActivityManager 作用
- api 过时是什么问题
- 关于提示过时Api
- Android viewPager.setOnPageChangeListener()方法过时怎么办
- Android getDrawable、onAttach提示过时怎么办?
- Revit API改变风管及管件尺寸(2014)
- 使用GDataXML 自适应软解析XML格式(不用管xml具体值)
- beyond compare 找不到靠谱“绿色版”怎么办
- 【原创】学编程有感(菜鸟可看,信管专业可看)
- 没人看,不用题目
- MOS管(场效应管)
- UICollectionView 设置section的背景色
- RatingBar
- 数据结构基础之数组实现线性表各种操作(二)
- MPI_Send和MPI_Recv影响下程序的执行顺序是怎样的?
- Android性能优化之常见的内存泄漏
- API过时怎么办?(靠!不用管!!看error)
- 北高智& Nodic BLE SOC 技术研讨会(2016.10.12)总结
- Android开发经验谈-很少有人会告诉你的Android开发基本常识,经验谈android
- 密钥、证书生成和管理总结
- ImageView
- nginx的配置、虚拟主机、负载均衡和反向代理
- AndroidStudio升级到2.2版本以后发生错误Error:Unable to start the daemon process.
- 深入理解Yarn的架构及作业调度机制
- php常用的数组操作