java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp/com.myapp.app.AdvertListActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class fragment

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

    0.9.1 with ProGuard: InflateException

    GitHub | 7 months ago | dirkam
    java.lang.RuntimeException: Unable to start activity ComponentInfo{.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference
  2. 0

    Vectors throwing Resources$NotFoundException after updating support library from 23.v to 24.v

    Stack Overflow | 5 months ago | Shivansh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{...MainActivity}: android.view.InflateException: Binary XML file line #54: Error inflating class ...BlaView
  3. 0

    Error inflating class EditText in Android Tablet version 4.4.2

    Stack Overflow | 4 months ago | Kapil Rajput
    java.lang.RuntimeException: Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #38: Error inflating class EditText android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android Logcat message:

    Stack Overflow | 3 years ago | simple coder
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.agora.TractFragment/com.agora.TractFragment.MainActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class fragment
  6. 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

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

      No message provided

      at com.myapp.fragment.AdvertListFragment.onCreateView()
    2. com.myapp.fragment
      AdvertListFragment.onCreateView
      1. com.myapp.fragment.AdvertListFragment.onCreateView(AdvertListFragment.java:63)
      1 frame
    3. Android Support v4
      FragmentActivity.onCreateView
      1. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:846)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1061)
      3. android.support.v4.app.FragmentManagerImpl.addFragment(FragmentManager.java:1160)
      4. android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:272)
      4 frames
    4. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:676)
      2. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
      5 frames
    5. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)
      1 frame
    6. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:1881)
      1 frame
    7. com.myapp.app
      AdvertListActivity.onCreate
      1. com.myapp.app.AdvertListActivity.onCreate(AdvertListActivity.java:19)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5104)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
      5. android.app.ActivityThread.access$600(ActivityThread.java:141)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:5041)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame