Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安卓5.1扫描页返回闪退 #19

Open
swieer opened this issue May 8, 2020 · 2 comments
Open

安卓5.1扫描页返回闪退 #19

swieer opened this issue May 8, 2020 · 2 comments

Comments

@swieer
Copy link

swieer commented May 8, 2020

设备比较老,扫描页面,手动返回,闪退
I/RequestQueue(15438): Repeating capture request cancelled.
5
E/BufferQueueProducer(15438): [unnamed-15438-2] cancelBuffer: BufferQueue has been abandoned
I/Camera (15438): open scan Camera_Scan start release mScanPowerState:true,syncCameraScan:0
I/Camera (15438): open scan Camera_Scan end release
W/ImageReader_JNI(15438): ImageReader#close called before Image#close, consider calling Image#close first
E/AndroidRuntime(15438): FATAL EXCEPTION: pool-5-thread-1
E/AndroidRuntime(15438): Process: com.changhong.mosu_app, PID: 15438
E/AndroidRuntime(15438): java.lang.RuntimeException: ImageReaderContext is not initialized
E/AndroidRuntime(15438): at android.media.ImageReader.nativeImageSetup(Native Method)
E/AndroidRuntime(15438): at android.media.ImageReader.acquireNextSurfaceImage(ImageReader.java:298)
E/AndroidRuntime(15438): at android.media.ImageReader.acquireNextImage(ImageReader.java:344)
E/AndroidRuntime(15438): at android.media.ImageReader.acquireLatestImage(ImageReader.java:248)

@buzzicards
Copy link

translate please

@swieer swieer changed the title 能否新增一个设置相机size的接口 安卓5.1扫描页返回闪退 Apr 23, 2021
@swieer
Copy link
Author

swieer commented Apr 25, 2021

在调用_controller?.dispose();后,会闪退,如果不dispose()的话,重新进入扫码页面会闪退,iOS开发人员,对安卓原生不懂,只能把问题提到这里!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants