App crashes after initialization with error SDK engine is null. Please provide a valid object.
App crashes after initialization with error SDK engine is null. Please provide a valid object.
/buildbot/src/android/ndk-r24-release/toolchain/llvm-project/libcxx/../../../toolchain/llvm-project/libcxxabi/src/cxa_exception.cpp:283
#06 pc 0000000000c915b8 /data/app/40SURYN_DZQ5oABuPTPl7Q==/com.bmw.connected.mobile20.row.prod-f0U-unjem1Z61EWahe859A==/base.apk!libheresdk.so (offset 0x757d000) (BuildId: 2b7b7b16386d14e3a28ff3f6b3d79ef64a8564e3)
here::sdk::core::engine::getSdkInternal(std::__ndk1::shared_ptr<here::sdk::core::engine::SDKNativeEngine> const&)
This issue is reported in HERE SDK for Android (Navigate Edition) 4.15.1.0 and later version of SDK.
The previously deprecated InitProvider needs to be removed from the AndroidManifest.xml file. From now on, the InitProvider should be no longer used, unless for cases where it may be more convenient to initialize the HERE SDK with this class: For example, for integration tests. Removed the previously deprecated methods InitProvider.destroyLockingProcess(), InitProvider.makeSDKNativeEngine() and InitProvider.getAndroidContext().
Note that the shared instance of the SDKNativeEngine isn't created automatically on startup and instead it must be created explicitly as shown in the accompanying example apps.