HMS-Core / hms-scan-demo

Sample code for demonstrating Huawei HMS ScanKit capabilities. It illustrates how to help developers quickly build code scanning capabilities.

Home Page:https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/scan-introduction-4?ha_source=hms1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用bitmap mode在部分手机上白屏

liwei49699 opened this issue · comments

image
image

使用remoteView是正常的

您好,为了更好的定位这个问题,请提供您集成的SDK版本,以及会出现白屏的手机型号及日志。

implementation 'com.huawei.hms:scanplus:2.6.0.301'
手机不在我这边
日志需要过滤什么吗 直接 adb logcat -v time > log.txt 就行吗

您好,不用过滤,adb logcat -v time > log.txt 就行。另外您可以检查下是否在AndroidManifest.xml添加了“hardwareAccelerated”为“true”,否则在个别机型可能会出现黑屏问题。