android - 请问 APP 如何兼容 5.1.1 的系统?
天蓬老师
天蓬老师 2017-04-17 14:58:10
[Android讨论组]

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

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

天蓬老师
天蓬老师

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

全部回复(4)
ringa_lee

用实体机,然后看log信息

天蓬老师

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

ringa_lee

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

PHP中文网

找到原因了……是因为加固所用的产品不支持5.1,换了一家加固后就没问题了

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号