Esri / arcgis-runtime-samples-android

ArcGIS Runtime SDK for Android Samples
https://developers.arcgis.com/android/
Apache License 2.0
665 stars 1.19k forks source link

Using Realm DataBase Arcgis for Android Runtime 100.4 will crash #550

Closed songzhixiang closed 5 years ago

songzhixiang commented 6 years ago

My Phone is Xiaomi Redmi 5 plus Android 7.1.2 when i use realm database to storage ,in a fragment(with mapview),when i frist load ,it was carsh ,this is error message ,but my xml file don't changed

 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:652)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:812)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:752)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:883)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:846)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:522)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:430)
TADraeseke commented 5 years ago

Hello! Unless you're having trouble with a specific sample in this repo, this question is best asked on GeoNet. https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-android