I am facing problems in migration from older to newer version of Esri maps. This problem didn't arise when I tried to run it on a test project where I never included the older sdk of Esri. The problem is that when I add the newer dependency and remove the old one it seems to be working fine but on runtime when it tries to inflate the runtime version map from xml it throws an error.
java.lang.RuntimeException: Unable to start activity
android.view.InflateException: Binary XML file line #182: Binary XML file line #182: Error inflating class com.esri.arcgisruntime.mapping.view.MapView
Caused by: android.view.InflateException: Binary XML file line #182: Binary XML file line #182: Error inflating class com.esri.arcgisruntime.mapping.view.MapView
Caused by: android.view.InflateException: Binary XML file line #182: Error inflating class com.esri.arcgisruntime.mapping.view.MapView
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file tnMVBDjuD2icZChUilHp6A==/split_lib_resources_apk.apk!/lib/arm64-v8a,
v8a,/system/lib64]]] couldn't find "libruntimecore.so"
I have tried to refresh all Gradle dependencies of the project, performed clean build and rebuilt project but nothing worked.
Thanks.
Solved! Go to Solution.
I removed a certain dependency from my app which fixed the issue.
I removed a certain dependency from my app which fixed the issue.