android.view.InflateException: Binary XML file line #2: Error inflating class fragment 12-29 23:45:32.605: E/AndroidRuntime(9437): android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1968)

Stack Overflow | user1875940 | 4 years ago
  1. 0

    android.view.InflateException while displaying google map

    Google Groups | 11 months ago | jose george
    android.view.InflateException: Binary XML file line #7: Error inflating class fragment
  2. 0

    How to resolve the following error and exception in Fragment?

    Stack Overflow | 4 years ago | Abhay
    android.view.InflateException: Binary XML file line #23: Error inflating class fragment 04-06 11:45:03.731: E/AndroidRuntime(707): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956) 04-06 11:45:03.731: E/AndroidRuntime(707): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) 04-06 11:45:03.731:E/AndroidRuntime(707): at android.app.ActivityThread.access$600(ActivityThread.java:123) 04-06 11:45:03.731: E/AndroidRuntime(707): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147) 04-06 11:45:03.731:E/AndroidRuntime(707):at android.os.Handler.dispatchMessage(Handler.java:99) 04-06 11:45:03.731: E/AndroidRuntime(707):at android.os.Looper.loop(Looper.java:137)
  3. 0

    unfortunately myapp has stopped working

    Stack Overflow | 9 months ago | capohosni
    android.view.InflateException: Binary XML file line #15: Error inflating class com.google.android.maps.MapView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android ToggleButton crash (resource NullPointerException)

    Stack Overflow | 5 years ago | valekovski
    android.view.InflateException: Binary XML file line #6: Error inflating class com.games.tiktakboom.GameView</p> </blockquote> <pre><code>at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2669)
  6. 0

    android.view.InflateException: Binary XML file line #7: Error inflating class

    Stack Overflow | 5 years ago | Spongeboss
    android.view.InflateException: Binary XML file line #18: Error inflating class org.me.TicTacToe.ui.TicTacToeBoard

    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.ClassCastException

      com.google.android.gms.maps.MapFragment cannot be cast to android.support.v4.app.Fragment 12-29 23:45:32.605:

      at android.support.v4.app.Fragment.instantiate()
    2. Android Support v4
      FragmentActivity.onCreateView
      1. android.support.v4.app.Fragment.instantiate(Fragment.java:394)
      2. android.support.v4.app.Fragment.instantiate(Fragment.java:369)
      3. android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:272)
      3 frames
    3. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:669)
      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
    4. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:271)
      1 frame
    5. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:1835)
      1 frame
    6. com.example.test_googlemap
      MainActivity.onCreate
      1. com.example.test_googlemap.MainActivity.onCreate(MainActivity.java:11)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:4465)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1052)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1932)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1993)
      5. android.app.ActivityThread.access$600(ActivityThread.java:127)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1159)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:4507)
      9 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:790)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame