App keeps crashing in Android 9 Pie
1. SDK Version: 4.0.4
2. Development Environment: Native Android
3. Tracker/Scanner: Image Tracker
4. License Type: Free
5. Target Device(Optional): Android 5.0 Lollipop to Android 9 Pie
We are using your free trial SDK for an AR based app for Android. While it was working fine on some devices having OS up to Naugat 7.1, We are facing crash in Android 8.1(occasionally) and 9.0 versions(every time). The Image Tracker in your SDK directly crashes on opening.
We are using the 4.0.4 version of MAXST AR SDK.
Following is the Log of Exception that we are getting every time:
E/ActivityManager: Failed to schedule configuration change
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:1127)
at android.app.IApplicationThread$Stub$Proxy.scheduleTransaction(IApplicationThread.java:1777)
at android.app.servertransaction.ClientTransaction.schedule(ClientTransaction.java:129)
at com.android.server.am.ClientLifecycleManager.scheduleTransaction(ClientLifecycleManager.java:47)
at com.android.server.am.ClientLifecycleManager.scheduleTransaction(ClientLifecycleManager.java:100)
at com.android.server.am.ActivityManagerService.updateGlobalConfigurationLocked(ActivityManagerService.java:22645)
at com.android.server.am.ActivityManagerService.updateDisplayOverrideConfigurationLocked(ActivityManagerService.java:22758)
at com.android.server.am.ActivityManagerService.updateDisplayOverrideConfiguration(ActivityManagerService.java:22724)
at com.android.server.wm.WindowManagerService.sendNewConfiguration(WindowManagerService.java:4392)
at com.android.server.wm.WindowManagerService.addWindow(WindowManagerService.java:1514)
at com.android.server.wm.Session.addToDisplay(Session.java:205)
at android.view.ViewRootImpl.setView(ViewRootImpl.java:758)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:356)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at android.app.Dialog.show(Dialog.java:329)
at com.android.server.am.AppErrors.handleShowAppErrorUi(AppErrors.java:855)
at com.android.server.am.ActivityManagerService$UiHandler.handleMessage(ActivityManagerService.java:2032)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.os.HandlerThread.run(HandlerThread.java:65)
at com.android.server.ServiceThread.run(ServiceThread.java:44)
at com.android.server.UiThread.run(UiThread.java:43)
Thanks for your report.
We'll test image tracker on Android 9 soon and reply to you.
Thanks.
John,
MAXST Support Team
Thanks for your interest in MAXST SDK.
The problem was not reproduced in my phone. My phone model is Galaxy 9 - Android 9.
If you tell me the path to the replay or if you have modified the code, let me know the modified code and I will run it and give you the answer.
Leo,
MAXST Support Team