android - 请问 APP 如何兼容 5.1.1 的系统?
天蓬老师
天蓬老师 2017-04-17 14:58:10
0
4
710

最近学习 android 开发,已经写出来一个 APP ,大部分机器测试正常的,现在发现在 5.1.1 的系统上会导致闪退问题,自己装了个 5.1.1 的模拟器却没事。
APP最低设置的是4.0

dependencies { 
compile fileTree(dir: 'libs', include: ['*.jar']) 
compile 'com.android.support:support-v4:21.0.2' 
compile 'com.android.support:appcompat-v7:22.2.0' 
compile files('libs/xUtils-2.6.14.jar') 
compile 'com.squareup.okhttp:okhttp:2.4.0' 
compile 'com.squareup.picasso:picasso:2.5.2' 
compile 'com.google.code.gson:gson:2.3.1' 
compile project(':pulltorefresh') 
compile 'com.github.JayFang1993:DropDownMenu:3e8620dc99' 

compile 'de.hdodenhof:circleimageview:1.3.0' 
} 

这是需要的包,请问这种兼容问题应该从何入手?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(4)
左手右手慢动作

Use a physical machine and check the log information

Peter_Zhu

Open the real machine, use eclipse to debug and see the errors,

左手右手慢动作

It is best to buy a real Nexus machine and test it with the native system

Ty80

I found the reason...it was because the product used for hardening did not support 5.1. After changing to another company for hardening, there was no problem

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template