KevinGebhardt86

Error inflating class com.esri.android.map.MapView

Discussion created by KevinGebhardt86 on Jun 26, 2013
Latest reply on Jul 16, 2013 by doneill-esristaff
Hello,
I have a problem with my application when I instantiate my activity.
I get an exception at setContentView(R.layout.main).
The exception here is directly pointing at my com.esri.android.map.MapView.
My Device: Samsung Galaxy Note 10.1, Android 4.1.2 (API 16)
The strange thing is that the same application works on my medion tablet with android 4.0.3 (API 15).
I adjustet the min- and maxSDK in the AndroidManifest.xml.

The code in my main.xml:
<com.esri.android.map.MapView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/map"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" >
    </com.esri.android.map.MapView>
The code in my activity:
super.onCreate(savedInstanceState);
setContentView(R.layout.main); // Error occurs here
Perhaps anyone has an idea.

Outcomes