android.view.InflateException: Binary XML file line #1: Error inflating class com.google.android.gms.maps.MapView

Xamarin Bugzilla | tomasz | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    17241 – Play Services: cannot inflate MapView

    xamarin.com | 10 months ago
    android.view.InflateException: Binary XML file line #1: Error inflating class com.google.android.gms.maps.MapView
  2. 0

    Play Services: cannot inflate MapView

    Xamarin Bugzilla | 3 years ago | tomasz
    android.view.InflateException: Binary XML file line #1: Error inflating class com.google.android.gms.maps.MapView
  3. 0

    AndroidAnnotations with dagger compile error

    GitHub | 4 years ago | sinojelly
    java.lang.RuntimeException: Unable to create application com.example.test.app.TestApplication: java.lang.TypeNotPresentException: Type class java.lang.Object$$ModuleAdapter not present
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Class.forName android NoClassDefFoundError -> ClassNotFoundException

    Stack Overflow | 4 years ago | Diljeet
    java.lang.ClassNotFoundException: android.media.RemoteControlClient.MetadataEditor
  6. 0

    java.lang.NoClassDefFoundError: [generic] at dalvik.system.NativeStart.main(Native Method)

    Stack Overflow | 3 years ago | darkchaos
    java.lang.NoClassDefFoundError: [generic]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com.google.android.gms.R$styleable

      at com.google.android.gms.maps.GoogleMapOptions.createFromAttributes()
    2. com.google.android
      MapView.<init>
      1. com.google.android.gms.maps.GoogleMapOptions.createFromAttributes(Unknown Source)
      2. com.google.android.gms.maps.MapView.<init>(Unknown Source)
      2 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
      2 frames
    4. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:466)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
      4 frames
    5. appcompatandmaps
      LocationFragment.onCreateView
      1. appcompatandmaps.LocationFragment.n_onCreateView(Native Method)
      2. appcompatandmaps.LocationFragment.onCreateView(LocationFragment.java:34)
      2 frames
    6. Android Support v4
      FragmentManagerImpl$1.run
      1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1478)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:927)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
      4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
      5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1460)
      6. android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:440)
      6 frames
    7. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:615)
      2. android.os.Handler.dispatchMessage(Handler.java:92)
      3. android.os.Looper.loop(Looper.java:137)
      4. android.app.ActivityThread.main(ActivityThread.java:4921)
      4 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame