chrisjenx / Calligraphy

Custom fonts in Android the easy way...
Apache License 2.0
8.59k stars 1.1k forks source link

InflateException: Binary XML file line #0 - API 19 #424

Closed kamalnewscorp closed 5 years ago

kamalnewscorp commented 6 years ago

Hi All, I'm getting this below error while inflating a custom view in API 19 devices.

android.view.InflateException: Binary XML file line #0: Error inflating class com.myapp.ui.customview
                                                                                at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:714)
                                                                                at android.view.LayoutInflater.rInflate(LayoutInflater.java:756)
                                                                                at android.view.LayoutInflater.parseInclude(LayoutInflater.java:840)
                                                                                at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
                                                                                at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
                                                                                at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60)
                                                                                at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
chrisjenx commented 5 years ago

Err looks like that class isn't on the class path in that case, check your naming and multidex.