PictureSelector 个别机型使用过程会奔溃Camera is being used after Camera.release

yptwkmov  于 5个月前  发布在  其他
关注(0)|答案(1)|浏览(43)

版本 'io.github.lucksiege:pictureselector:v2.7.3-rc06'
问题日志:
java.lang.RuntimeException
Camera is being used after Camera.release() was called

hpcdzsge

hpcdzsge1#

最新版3.x也会出现这个错误
java.lang.RuntimeException: Camera is being used after Camera.release() was called
at android.hardware.Camera.setHasPreviewCallback(Native Method)
at android.hardware.Camera.-wrap0(Camera.java)
at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1259)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6251)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
Back traces ends.

相关问题