AnsweredAssumed Answered

How to resolve crash on start when using ArcGISRuntime.setClientId(<clientID>)

Question asked by wedkarz on Jun 29, 2016
Latest reply on Aug 19, 2016 by ANohe-esristaff




I have problem with app crashing on start while invoking ArcGISRuntime.setClientId(getString(R.string.ArcGISClientId));

it causes exception:

    java.lang.UnsatisfiedLinkError: No implementation found for boolean com.esri.core.runtime.LicenseImpl.nativeIsClientIdValid(java.lang.String) (tried Java_com_esri_core_runtime_LicenseImpl_nativeIsClientIdValid and Java_com_esri_core_runtime_LicenseImpl_nativeIsClientIdValid__Ljava_lang_String_2) at com.esri.core.runtime.LicenseImpl.nativeIsClientIdValid(Native Method) at com.esri.core.runtime.LicenseImpl.b(SourceFile:103) at$License.b(SourceFile:133) at$License.a(SourceFile:72) at at com.ihs.connect.App.configureArcGIS( at com.ihs.connect.App.onCreate( at at at$1800( at$H.handleMessage( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at$ at

Affected devices are running Android 6.0 / 6.0.1. But it doesn't occur on all devices. Some of them are:

  • SM-G920F (Samsung Galaxy S6)
  • SC-02H (Samsung Galaxy S7 Edge)
  • SM-N920C (samsung Galaxy Note 5)
  • ASUS_Z010D (ASUS ZenFone Max)
  • Nexus 5X (LG Nexus 5X)
  • LG-H815 (LG G4)
  • E5823 (Sony Xperia Z5 Compact)
  • SAMSUNG-SM-G935A (Samsung Galaxy S7 Edge)
  • SM-N9208 (Samsung Galaxy Note5 Duos)
  • SGP771 (Sony Xperia Tablet Z4)
  • 0PJA2 (HTC One M9)

I have tried running it with and without ProGuard, but still no effect. Any ideas?