AnsweredAssumed Answered

Didn't find class "com.esri.arcgisruntime.ArcGISRuntimeEnvironment"

Question asked by develop_smartlink on Sep 11, 2019
Latest reply on Jan 14, 2020 by shylendram

When I try to run with android studio, it's working fine on device. But when I try to build apk and install it manually, I am getting this exception. Same thing is happening from play store.

I am using android SDK 100.6.0

java.lang.ClassNotFoundException: Didn't find class "com.esri.arcgisruntime.ArcGISRuntimeEnvironment" on path: DexPathList[[zip file "/data/app/sa.test.oads-2M9eFuy0a9K3TZv1Q6hIPw==/base.apk"],nativeLibraryDirectories=[/data/app/sa.test.oads-2M9eFuy0a9K3TZv1Q6hIPw==/lib/arm64, /data/app/sa.test.oads-2M9eFuy0a9K3TZv1Q6hIPw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
2019-09-11 23:43:44.682 4741-4741/? A/.test.oads: thread.cc:2148] at void sa.test.oads.activities.TestApp.onCreate() (:-1)
2019-09-11 23:43:44.834 4741-4741/? A/.test.oads: runtime.cc:565] native: #10 pc 000000000019012c /data/app/sa.test.oads-2M9eFuy0a9K3TZv1Q6hIPw==/lib/arm64/libruntimecore_java.so (offset 190000) (???)
2019-09-11 23:43:44.834 4741-4741/? A/.test.oads: runtime.cc:565] native: #11 pc 000000000019052c /data/app/sa.test.oads-2M9eFuy0a9K3TZv1Q6hIPw==/lib/arm64/libruntimecore_java.so (offset 190000) (JNI_OnLoad+384)
2019-09-11 23:43:44.834 4741-4741/? A/.test.oads: runtime.cc:565] at sa.test.oads.activities.TestApp.onCreate(:-1)
2019-09-11 23:43:44.837 4741-4741/? A/.test.oads: runtime.cc:565] native: #27 pc 000000000017e38e /data/app/sa.test.oads-2M9eFuy0a9K3TZv1Q6hIPw==/oat/arm64/base.vdex (c.b.a.a.g+14)
2019-09-11 23:43:44.837 4741-4741/? A/.test.oads: runtime.cc:565] native: #33 pc 00000000001848e0 /data/app/sa.test.oads-2M9eFuy0a9K3TZv1Q6hIPw==/oat/arm64/base.vdex (com.esri.arcgisruntime.internal.jni.CoreArcGISRuntimeEnvironment.<clinit>)
2019-09-11 23:43:44.838 4741-4741/? A/.test.oads: runtime.cc:565] native: #55 pc 0000000000282ce4 /data/app/sa.test.oads-2M9eFuy0a9K3TZv1Q6hIPw==/oat/arm64/base.vdex (sa.test.oads.activities.TestApp.onCreate+16)
2019-09-11 23:43:44.838 4741-4741/? A/.test.oads: runtime.cc:565] at sa.test.oads.activities.TestApp.onCreate(:-1)
2019-09-11 23:43:44.838 4741-4741/? A/.test.oads: runtime.cc:573]

Outcomes