java.lang.RuntimeException: Unable to start activity ComponentInfo{dim.intellivase/dim.intellivase.BaseContainer}: android.view.InflateException: Binary XML file line #18: Error inflating class android.support.design.widget.CollapsingToolbarLayout

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by AmiNadim
, 1 year ago
Unable to start activity ComponentInfo{dim.intellivase/dim.intellivase.BaseContainer}: android.view.InflateException: Binary XML file line #18: Error inflating class android.support.design.widget.CollapsingToolbarLayout
via GitHub by GengmeiAndroid
, 1 year ago
Unable to start activity ComponentInfo{com.kelin.mvvmlight.zhihu/com.kelin.mvvmlight.zhihu.MainActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class android.support.design.widget.CollapsingToolbarLayout
via Stack Overflow by user2577020
, 1 year ago
Unable to start activity ComponentInfo{com.ciputraresidence.ciapp.ourproject/com.ciputraresidence.ciapp.ourproject.HomeActivity}: android.view.InflateException: Binary XML file line #33: Error inflating class android.support.design.widget.CollapsingToolbarLayout
via GitHub by SaichhaKale
, 1 year ago
Unable to start activity ComponentInfo{com.app.bollywoodtimes/com.app.bollywoodtimes.Activity.BollywoodTimesApp}: android.view.InflateException: Binary XML file line #18: Error inflating class fr.castorflex.android.verticalviewpager.VerticalViewPager
via GitHub by harry2008
, 1 year ago
Unable to start activity ComponentInfo{net.wequick.example.small/net.wequick.small.A}: android.view.InflateException: Binary XML file line #18: Error inflating class <unknown>
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.achessapp/com.example.achessapp.fragment.settting.highrisk.map.MapActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class fragment
java.lang.RuntimeException: Unable to start activity ComponentInfo{dim.intellivase/dim.intellivase.BaseContainer}: android.view.InflateException: Binary XML file line #18: Error inflating class android.support.design.widget.CollapsingToolbarLayout
at android.support.design.widget.CollapsingToolbarLayout.setStatusBarScrim(CollapsingToolbarLayout.java:663)
at android.support.design.widget.CollapsingToolbarLayout.(CollapsingToolbarLayout.java:197)
at android.support.design.widget.CollapsingToolbarLayout.(CollapsingToolbarLayout.java:132)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
at dim.intellivase.BaseContainer.InitializeActivity(BaseContainer.java:48)
at dim.intellivase.BaseContainer.onCreate(BaseContainer.java:21)
at android.app.Activity.performCreate(Activity.java:5312)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2395)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2495)
at android.app.ActivityThread.access$800(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5633)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:896)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 times, 10 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.