请问 APP 如何兼容 5.1.1 的系统?


最近学习 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' 
}

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

Android

LinLin 8 years, 6 months ago

最好买个Nexus 真机,用原生系统测试

kciyuan answered 8 years, 6 months ago

真机打开,用eclipse调试看错误,

传说中的哥特 answered 8 years, 6 months ago

用实体机,然后看log信息

糟糕的节操 answered 8 years, 6 months ago

Your Answer