Crash on Android from 297)

+2 votes
asked Nov 12, 2018 by yannick (380 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? 

2 Answers

+1 vote
answered Nov 15, 2018 by yannick (380 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.
0 votes
answered Feb 20 by sbeck27 (660 points)
I experience the same thing when I try to pause the engine. Help would be appreciated!
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.