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

Stack Overflow | user2218657 | 6 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

    Unable to Re-inflate a fragment dialog Xamarin and C#

    Stack Overflow | 6 months ago | user2218657
    android.view.InflateException: Binary XML file line #1: Error inflating class fragment
  2. 0

    Android Creating Activity with Fragments, onCreateView

    Stack Overflow | 3 years ago | jr04
    android.view.InflateException: Binary XML file line #1: Error inflating class fragment
  3. 0

    Crash in Google Maps caused by a null pointer in android.widget.EdgeEffect.<init>

    Stack Overflow | 2 years ago
    android.view.InflateException: Binary XML file line #1: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why does my app still crash after the emulator runs?

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

    Android app - Attempt to invoke interface method 'int java.util.List.size()' on a null object reference

    Stack Overflow | 2 years ago | D. Ace
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.projmobileapp.pmdbadd.pmdb/com.projmobileapp.pmdbadd.pmdb.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class fragment
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. android.view.InflateException

    Binary XML file line #1: Error inflating class fragment

    at android.view.LayoutInflater.createViewFromTag()
  2. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:719)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:498)
    4 frames
  3. md5acfef63ba52ffd159bb4b4b5411a5ab5
    dialog_preview_busn.onCreateView
    1. md5acfef63ba52ffd159bb4b4b5411a5ab5.dialog_preview_busn.n_onCreateView(Native Method)
    2. md5acfef63ba52ffd159bb4b4b5411a5ab5.dialog_preview_busn.onCreateView(dialog_preview_busn.java:45)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Fragment.performCreateView(Fragment.java:1700)
    2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
    3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
    4. android.app.BackStackRecord.run(BackStackRecord.java:684)
    5. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
    6. android.app.FragmentManagerImpl$1.run(FragmentManager.java:443)
    7. android.os.Handler.handleCallback(Handler.java:733)
    8. android.os.Handler.dispatchMessage(Handler.java:95)
    9. android.os.Looper.loop(Looper.java:157)
    10. android.app.ActivityThread.main(ActivityThread.java:5293)
    10 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame