Crash on Android from 297)

+1 vote
asked Nov 12 by yannick (250 points)

I started receiving crash report with this error and call stack : 

Fatal Exception: java.lang.RuntimeException

Unable to pause activity {com.editionsalaska.ra/com.editionsalaska.ra.ARScannerActivity}: java.lang.RuntimeException: getParameters failed (empty parameters)

android.hardware.Camera.native_getParameters (
android.hardware.Camera.getParameters (
cn.easyar.engine.CameraDevice.getSize (
cn.easyar.engine.EasyARNative.onPause (
cn.easyar.engine.EasyAR.onPause (
cn.easyar.Engine.onPause (
com.editionsalaska.ra.easyar.GLView.onPause (
com.editionsalaska.ra.ARScannerActivity.onPause (

Any ideas why? 

1 Answer

+1 vote
answered Nov 15 by yannick (250 points)
Seems to be happening only on Samsung devices... 66% of the time in Android 8, and 63% of the time when app is in background state.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.