java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dongao.smalldemo/com.dongao.smalldemo.app.main.SecondActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class com.dongao.smalldemo.lib.widget.base.CustomerLayout

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

,

Create an empty public constructor in your code.

Solutions on the web

via GitHub by MaYunFei
, 10 months ago
Unable to start activity ComponentInfo{com.dongao.smalldemo/com.dongao.smalldemo.app.main.SecondActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class com.dongao.smalldemo.lib.widget.base.CustomerLayout
via Stack Overflow by ASAP
, 1 year ago
Unable to start activity ComponentInfo{com.pptsindia.feedapp/com.pptsindia.feedapp.MainActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class at.markushi.ui.CircleButton
via Stack Overflow by Yushin Kim
, 3 months ago
Unable to start activity ComponentInfo{com.example.yusin.nfcsep/com.example.yusin.nfcsep.SecondActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class <unknown>
via GitHub by codehz
, 10 months ago
Unable to start activity ComponentInfo{com.coolapk.market/com.coolapk.market.view.webview.LoginActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class android.webkit.WebView
via Stack Overflow by AIS
, 1 year ago
Unable to start activity ComponentInfo{com.example.ather.healthapp/com.example.ather.healthapp.MapActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class fragment
via Stack Overflow by Logan
, 2 weeks ago
Unable to start activity ComponentInfo{com.example.aman.demo/com.example.aman.demo.MainActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class com.example.aman.demo.MyEditText
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dongao.smalldemo/com.dongao.smalldemo.app.main.SecondActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class com.dongao.smalldemo.lib.widget.base.CustomerLayout
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)

Users with the same issue

Once, 1 month ago
33 times, 2 months ago
8 times, 2 months ago
468 times, 3 months ago
65 times, 5 months ago

Write tip

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