当前位置:网站首页>crash问题
crash问题
2022-06-09 10:00:00 【大道一支菜鸟】
java.lang.RuntimeException: Camera is being used after Camera.release() was called
预览callback时候的问题,参考下面:
mCamera.setPreviewCallback(null) ;
mCamera.stopPreview();
mPreviewRunning = false;
mCamera.release();
在stopPreview和release之前调用一下setPreviewCallback(null) 就行了
在调用结束后closecamera,要给setPreviewCallback清空一下
可以参考:
https://blog.csdn.net/pbm863521/article/details/75111379
边栏推荐
- AI 考生挑战高考作文获 48 分;IBM 宣布退出俄罗斯市场,已暂停在俄所有业务;OpenCV 4.6 发布|极客头条...
- [optics] double slit interference with GUI Based on MATLAB simulation light
- C语言与Lua的交互(实践二)
- WebAssembly 2022调查来啦
- dotnet core 也能协调分布式事务啦!
- Composition of IT resources accessible anywhere, anytime
- [leetcode] [Niuke] brush questions on binary tree
- 1331. array sequence number conversion - quick sort plus binary search
- With good conditional access, remote office is more secure and efficient
- 同花顺app交易安全吗
猜你喜欢
![[genius_platform software platform development] lesson 101st: summary of errors encountered in compiling Windows environment vs2017 for DZ products of power projects](/img/6c/9e96c220d099cdcd35654b39adb581.png)
[genius_platform software platform development] lesson 101st: summary of errors encountered in compiling Windows environment vs2017 for DZ products of power projects

WPF 实现带明细的环形图表

Webassembly 2022 survey coming

三拾壹- NodeJS簡單代理池(合) 之 MongoDB 鏈接數爆炸了

关于在线帮助中心你需要思考以下几个问题

Introduction to scientific research: how can you improve your scientific research ability when your tutor is completely free for nursing?

【模型部署与业务落地】AI 框架部署方案之模型转换

Unemployment wave? Yuancosmos opens up new employment opportunities

Key configuration points of video fusion cloud service easycvr platform deployed in ECS

C语言与Lua的交互(实践二)
随机推荐
Authentication failure processor
Mysql数据库头歌实训任务存储过程如何通关?
【光学】 基于matlab模拟光的双缝干涉附GUI
Iscc2022 challenge arena Misc
Unemployment wave? Yuancosmos opens up new employment opportunities
Implementing recurrent neural networks from scratch -- [torch learning notes]
Why do we want to be young when we grow up?
How does cloud based LDAP save traditional LDAP?
Webassembly 2022 survey coming
Sequence model - 【 torch learning notes 】
自定义失败处理
[image enhancement] image enhancement based on sparse representation and regularization with matlab code
叁拾玖- SQL对数据内容 分段/分组 汇总
从SQL注入绕过最新安全狗WAF中学习fuzz
WebAssembly 2022调查来啦
You need to think about the following questions about the online help center
损失 3 亿美元后,IBM 宣布退出俄罗斯!
【水果识别】基于形态学实现水果识别含Matlab源码
User directory one stop guide
肆拾伍- 正则表达式 (?=pattern) 以及 (?!pattern)