Android填坑记录

1.接入firebase问题:

2020-01-02 16:46:53.878 2711-2853/? E/FirebaseInstanceId: Google Play services missing or without correct permission.
2020-01-02 16:46:54.311 2711-2853/? E/FirebaseInstanceId: Google Play services missing or without correct permission.
2020-01-02 16:46:54.779 1454-1885/? E/TaskPersister: File error accessing recents directory (directory doesn't exist?).
2020-01-02 16:46:56.816 3298-3298/? E/dboxed_process: Not starting debugger since process cannot load the jdwp agent.
2020-01-02 16:46:57.040 2711-2853/? E/FirebaseInstanceId: Google Play services missing or without correct permission.
2020-01-02 16:46:57.252 1454-3305/? E/BpBinder: Too many binder proxy objects sent to uid 1000 from uid 10384 (6000 proxies held)
2020-01-02 16:46:57.252 1454-1525/? E/ActivityManager: Uid 10384 sent too many Binders to uid 1000
2020-01-02 16:46:57.285 1454-1525/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.miui.home/com.miui.home.launcher.Launcher/41401360
2020-01-02 16:46:57.307 1454-1541/? E/KernelWakelockReader: Kernel wake locks exceeded buffer size 49152
2020-01-02 16:46:57.310 1454-1541/? E/BatteryExternalStatsWorker: wifi info is invalid: null
2020-01-02 16:46:57.310 1454-1541/? E/BatteryExternalStatsWorker: modem info is invalid: null
2020-01-02 16:46:57.317 1454-1793/? E/InputDispatcher: channel '2b1c27a com.netease.lotterynews/com.netease.lottery.base.FragmentContainerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2020-01-02 16:46:57.334 1454-1530/? E/libprocessgroup: Error encountered killing process cgroup uid 99012 pid 3298: No such file or directory

用的firebase 16.0.4出现进入应用就闪退,设备小米8,升级到16.0.7就好了。

重点log:

2020-01-02 16:46:53.878 2711-2853/? E/FirebaseInstanceId: Google Play services missing or without correct permission.

2020-01-02 16:46:57.317 1454-1793/? E/InputDispatcher: channel '2b1c27a com.netease.lotterynews/com.netease.lottery.base.FragmentContainerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

2.场景:Recyclerview展示聊天室消息,item是一个textview展示的富文本(用span实现),在textview上设置了多个span,有ClickableSpan,ImageSpan,ClickableSpan,并且给textview设置了

 itemView.textview.movementMethod = LinkMovementMethod.getInstance()

结果导致文本展示英文字符 , . ; : ! 等,造成富文本会折行。

https://blog.csdn.net/c16882599/article/details/52913799

https://blog.csdn.net/hechaojie_com/article/details/82226055

 

3.Glide4.8 加载图片给Imageview,宽高模式为wrap_content时imageview大小被拉伸。

https://blog.csdn.net/lhy349/article/details/99714641

https://github.com/clarkehe/Android/wiki/Coding%287%29:-Glide%E4%BD%BF%E7%94%A8%E5%8F%8A%E6%B3%A8%E6%84%8F%E7%9A%84%E5%9C%B0%E6%96%B9

https://www.jianshu.com/p/13de1774471c

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值