0

在集成 affdex sdk 后,在少数设备中,我遇到了以下异常。如果我们需要进行任何更改来修复它,请告诉我吗?

java.lang.RuntimeException: getParameters failed (empty parameters)
                                                                       at android.hardware.Camera.native_getParameters(Native Method)
                                                                       at android.hardware.Camera.getParameters(Camera.java:1896)
                                                                       at com.affectiva.android.affdex.sdk.detector.CameraHelper.e(SourceFile:291)
                                                                       at com.affectiva.android.affdex.sdk.detector.CameraHelper.e(SourceFile:36)
                                                                       at com.affectiva.android.affdex.sdk.detector.CameraHelper$1.onPreviewFrame(SourceFile:143)
                                                                       at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1110)
                                                                       at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                       at android.os.Looper.loop(Looper.java:154)
                                                                       at android.app.ActivityThread.main(ActivityThread.java:6119)
                                                                       at java.lang.reflect.Method.invoke(Native Method)
                                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
                                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
4

0 回答 0