AnsweredAssumed Answered

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/esri/arcgisruntime/R$drawable;

Question asked by hujiuyun@126.com on May 23, 2017
Latest reply on May 26, 2017 by ANohe-esristaff

Caused by: android.view.InflateException: Binary XML file line #9: Binary XML file line #9: Error inflating class com.esri.arcgisruntime.mapping.view.MapView
Caused by: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.arcgisruntime.mapping.view.MapView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
at android.view.LayoutInflater.createView(LayoutInflater.java:656)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:798)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:738)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:869)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:832)
at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
at android.view.LayoutInflater.inflate(LayoutInflater.java:426)

 

I am downloaded SDK100.0.0 for android ,and add to lib . I created a xml , but MapView  throw InflateException. So i try to install the SDK that According to the official recommendation,but sync failed again,"Failed to resolve: com.esri.arcgisruntime:arcgis-android:100.0.0".

 

I will be cry. Who can talk me it is why? thanks.

Outcomes