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

Stack Overflow | Humty | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    All comments on Material Design Navigation Drawer Part 3: Android Tutorials [HD 1080p] - YouTube

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

    Google map v2 application Show error

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

    Crash program when using google play service api for accessing google map

    Stack Overflow | 3 years ago | user3730885
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.trymap2/com.example.trymap2.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

    Orientation change Crash Application

    Stack Overflow | 4 years ago | Bhim Prasad Ale
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.bajraregistertesteclipse/com.example.bajraregistertesteclipse.MainActivity}: android.view.InflateException: Binary XML file line #16: Error inflating class fragment
  6. 0

    Error inflating NavigationView class -- android

    Stack Overflow | 8 months ago | Shudy
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.shudy.XXXXX/com.shudy.XXXXX.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView

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

      com.example.namal.fragments.MainActivity@1602e5b8 must implement OnFragmentInteractionListener

      at com.example.namal.fragments.Pie1.onAttach()
    2. com.example.namal
      Pie1.onAttach
      1. com.example.namal.fragments.Pie1.onAttach(Pie1.java:83)
      1 frame
    3. Android Support v4
      FragmentActivity.onCreateView
      1. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1043)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1268)
      3. android.support.v4.app.FragmentManagerImpl.addFragment(FragmentManager.java:1370)
      4. android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2415)
      5. android.support.v4.app.FragmentController.onCreateView(FragmentController.java:120)
      6. android.support.v4.app.FragmentActivity.dispatchFragmentsOnCreateView(FragmentActivity.java:376)
      7. android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:33)
      8. android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:75)
      8 frames
    4. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:733)
      2. android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:504)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:414)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:365)
      5 frames
    5. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
      2 frames
    6. com.example.namal
      MainActivity.onCreate
      1. com.example.namal.fragments.MainActivity.onCreate(MainActivity.java:14)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6178)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2648)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2769)
      5. android.app.ActivityThread.access$900(ActivityThread.java:177)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1430)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:135)
      9. android.app.ActivityThread.main(ActivityThread.java:5910)
      9 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
      2 frames