java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hellomap/com.example.hellomap.MainActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class fragment

coderanch.com | 9 months 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

    Google Map Display Problem in Android app (Android forum at Coderanch)

    coderanch.com | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hellomap/com.example.hellomap.MainActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class fragment
  2. 0

    Google Map Display Problem in Android app (Android forum at Coderanch)

    coderanch.com | 9 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hellomap/com.example.hellomap.MainActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class fragment
  3. 0

    Google Map Display Problem in Android app

    Coderanch | 3 years ago | Kishor Joshi
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hellomap/com.example.hellomap.MainActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android Google Maps: error inflating class fragment

    Stack Overflow | 3 years ago | user3743127
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hellomap/com.example.hellomap.MainActivity}: android.view.InflateException: Binary XML file line #3: Error inflating class fragment
  6. 0

    Not declaring Google Play version makes application crash on 4.4.4

    GitHub | 3 years ago | bagage
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.runnerup/org.runnerup.view.DetailActivity}: android.view.InflateException: Binary XML file line #173: Error inflating class fragment

    1 unregistered visitors
    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.IllegalStateException

      The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 5089000 but found 0. You must have the following declaration within the <application> element: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />

      at com.google.android.gms.common.GooglePlayServicesUtil.A()
    2. com.google.android
      SupportMapFragment.onInflate
      1. com.google.android.gms.common.GooglePlayServicesUtil.A(Unknown Source)
      2. com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source)
      3. com.google.android.gms.maps.internal.u.I(Unknown Source)
      4. com.google.android.gms.maps.internal.u.H(Unknown Source)
      5. com.google.android.gms.maps.MapsInitializer.initialize(Unknown Source)
      6. com.google.android.gms.maps.SupportMapFragment$b.jz(Unknown Source)
      7. com.google.android.gms.maps.SupportMapFragment$b.a(Unknown Source)
      8. com.google.android.gms.dynamic.a.a(Unknown Source)
      9. com.google.android.gms.dynamic.a.onInflate(Unknown Source)
      10. com.google.android.gms.maps.SupportMapFragment.onInflate(Unknown Source)
      10 frames
    3. Android Support v4
      FragmentActivity.onCreateView
      1. android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:279)
      1 frame
    4. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:676)
      2. android.view.LayoutInflater.inflate(LayoutInflater.java:466)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
      4 frames
    5. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:281)
      1 frame
    6. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:1881)
      1 frame
    7. com.example.hellomap
      MainActivity.onCreate
      1. com.example.hellomap.MainActivity.onCreate(MainActivity.java:14)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5122)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2307)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2395)
      5. android.app.ActivityThread.access$600(ActivityThread.java:162)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)
      7. android.os.Handler.dispatchMessage(Handler.java:107)
      8. android.os.Looper.loop(Looper.java:194)
      9. android.app.ActivityThread.main(ActivityThread.java:5371)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame