
bug记录
Hello__code
脚踏实地,越努力越幸运,一起加油!
展开
-
FileDownload https 自签名证书问题 报错:CertPathValidatorException
一:前言 项目安全升级,使用https协议,老板不出钱,只能使用自签名证书的方式,发现Filedownload 无法下载文件,报错:javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. ...原创 2018-07-02 17:43:58 · 5044 阅读 · 4 评论 -
ANR日志分析
一:前言 最近发现好多人不会从日志中找到ANR的解决方法, 在此分享一个小技巧。 想必ANR(应用程序无响应)大家都遇到过,大概有以下情况会发生: 1. dispatchTimeout输入事件分发超时,一般是主线程在5秒之内没有响应事件。 2. BroadcastTimeout广播超时,一般为广播在10秒内未能执行完毕。 ...原创 2018-06-27 16:28:13 · 11993 阅读 · 0 评论 -
Installation failed with message INSTALL_FAILED_CONFLICTING_PROVIDER 的解决方案
问题简述 最近发现项目的debug包和签名包不能共存了,在小米手机上提示 “ 与已安装应用内容提供者冲突 ”, 用studio直接 运行也是报错,今天抽时间看了看, 记录一下。 问题原因 从提示里面可以明确的看到是 hms 的 provider 里的 authorities 导致的, debug包和签名包冲突了, 主要当时集成华为推送的时候大意了, 华为推送的Dem...原创 2018-04-24 17:21:11 · 2249 阅读 · 0 评论 -
解决Conflict with dependency 'com.android.support:support-v4' in project ':app'. Resolved versions for
完整的错误描述为: > Conflict with dependency 'com.android.support:support-v4' in project ':app'. Resolved versions for app (26.0.0-alpha1) and test app (27.0.2) differ. See https://d.android.com/...原创 2018-01-25 11:10:25 · 9220 阅读 · 0 评论