HMS-Core / hms-ml-demo

HMS ML Demo provides an example of integrating Huawei ML Kit service into applications. This example demonstrates how to integrate services provided by ML Kit, such as face detection, text recognition, image segmentation, asr, and tts.
https://developer.huawei.com/consumer/en/hms/huawei-mlkit?ha_source=hms1
Apache License 2.0
356 stars 120 forks source link

Face2D-Sticker在手机上运行闪退 #72

Open jianchuan6 opened 3 years ago

jianchuan6 commented 3 years ago

Face2D-Sticker在手机上运行闪退

OwenLiuzZ commented 3 years ago

你好,可以提供下具体的使用场景及你的相关环境吗?例如手机机型+手机rom版本号+对应的特性?这样方便我们进行问题定位?

baihua666 commented 1 year ago

我这里也出现了,小米NOTE 11,MIUI12.5.10版本,首次安装使用时必现闪退。 闪退原因是还没有同意摄像头权限,就调用了openCamera的方法。 解决办法是实现activity的onRequestPermissionsResult方法,授权成功后再打开摄像头。

baihua666 commented 1 year ago

你好,可以提供下具体的使用场景及你的相关环境吗?例如手机机型+手机rom版本号+对应的特性?这样方便我们进行问题定位?

无相机权限时打开相机导致闪退