java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.rssreader/com.example.rssreader.MainActivity}: android.view.InflateException: Binary XML file line #24: Binary XML file line #17: Error inflating class android.support.v7.widget.SwipeRefreshLayout

Stack Overflow | Lo_Zio | 2 months ago
  1. 0

    android.view.InflateException: Binary XML file line #24: Binary XML file line #17: Error inflating class android.support.v7.widget.SwipeRefreshLayout

    Stack Overflow | 2 months ago | Lo_Zio
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.rssreader/com.example.rssreader.MainActivity}: android.view.InflateException: Binary XML file line #24: Binary XML file line #17: Error inflating class android.support.v7.widget.SwipeRefreshLayout
  2. 0

    Why would adding espresso-contrib cause an InflateException?

    Stack Overflow | 2 years ago | rosegrink
    android.view.InflateException: Binary XML file line #33: Error inflating class android.support.v7.widget.RecyclerView
  3. 0

    IncompatibleClassChangeError: android.support.design.internal.NavigationMenuView

    Stack Overflow | 1 year ago | ligi
    android.view.InflateException: Binary XML file line #28: Error inflating class android.support.design.widget.NavigationView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting NullPointer Exception at setContentView(R.layout.activity_home_screen);

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

    App is crashing while intending navigation drawer activity

    Stack Overflow | 2 years ago
    android.view.InflateException: Binary XML file line #19: Error inflating class fragment

  1. filpgame 4 times, last 1 week ago
  2. asvid 18 times, last 6 months ago
  3. Alexandru Popa 6 times, last 3 weeks ago
  4. Benny 42 times, last 4 months ago
  5. danleyb2Interintel 1 times, last 5 months ago
15 more registered users
48 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. android.view.InflateException

    Binary XML file line #24: Binary XML file line #17: Error inflating class android.support.v7.widget.SwipeRefreshLayout

    at android.view.LayoutInflater.inflate()
  2. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.inflate(LayoutInflater.java:551)
    2. android.view.LayoutInflater.inflate(LayoutInflater.java:429)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:380)
    3 frames
  3. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:256)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109)
    2 frames
  4. com.example.rssreader
    MainActivity.onCreate
    1. com.example.rssreader.MainActivity.onCreate(MainActivity.java:20)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6877)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3209)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3352)
    5. android.app.ActivityThread.access$1100(ActivityThread.java:223)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1797)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:158)
    9. android.app.ActivityThread.main(ActivityThread.java:7231)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame