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

Xamarin Bugzilla | tomasz | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    17241 – Play Services: cannot inflate MapView

    xamarin.com | 8 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

    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