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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web53112

  • 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
  • via GitHub by levuphuong
    , 10 months ago
    Unable to start activity ComponentInfo{com.sothree.slidinguppanel.demo/com.sothree.slidinguppanel.demo.DemoActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class android.support.v7.widget.Toolbar
  • Unable to start activity ComponentInfo{com.quki.error.secondmaterialdesign/com.quki.error.secondmaterialdesign.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class android.support.v7.widget.RecyclerView
  • Stack trace

    • 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 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3352) at android.app.ActivityThread.access$1100(ActivityThread.java:223) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1797) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7231) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) Caused by: 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(LayoutInflater.java:551) at android.view.LayoutInflater.inflate(LayoutInflater.java:429) at android.view.LayoutInflater.inflate(LayoutInflater.java:380) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:256) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109) at com.example.rssreader.MainActivity.onCreate(MainActivity.java:20) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3209) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3352) at android.app.ActivityThread.access$1100(ActivityThread.java:223) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1797) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7231) at java.lang.reflect.Method.invoke(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    61 more bugmates