Mobile-SDK-Android-V5
Mobile-SDK-Android-V5 copied to clipboard
V5.9.1 Sample App Crash after small modification
Sample App V5.9.1 Device samsung SM-G990B2 Android API 34 and Pixle 5
Reproduce the crash
- build and run (debug) the APP
- the APP works as expected
- change line 81 of MSDKInfoVm.kt to
LogUtils.i(tag, "test KeyConnection:$it")
- build and run (debugmode) the APP
- the APP crashes and exits
Cause research
The error seems to happen when calling com.secneo.sdk.Helper.install(this)
in file DJIAircraftApplication.kt line 17.
If you uninstall the APP after the crash, it can be started again without crashing.