java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.payfort.payfort/com.example.payfort.payfort.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class com.shamanland.fonticon.FontIconView


Solutions on the web17689

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.payfort.payfort/com.example.payfort.payfort.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class com.shamanland.fonticon.FontIconView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.austin.mealwheel_490/com.example.austin.mealwheel_490.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class com.facebook.login.widget.LoginButton

Solution icon of stackoverflow
Unable to start activity ComponentInfo{activity.tasks.dummies.com.tasklistactivity/activity.tasks.dummies.com.tasklistactivity.TaskListActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class fragment

Solution icon of stackoverflow
via Stack Overflow by Pankaj Darji
, 1 year ago
Unable to start activity ComponentInfo{com.ewh.calculations/com.ewh.calculations.ActivityOperation}: android.view.InflateException: Binary XML file line #15: Error inflating class <unknown>

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.labs.live.duke.vrbanking/com.labs.live.duke.vrbanking.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class com.google.vr.sdk.widgets.video.VrVideoView

Solution icon of github
Unable to start activity ComponentInfo{com.searchbartest/com.searchbartest.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class br.com.mauker.materialsearchview.MaterialSearchView

Solution icon of github
Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #101: Error inflating class eu.fiskur.markdownview.MarkdownView

Solution icon of github
Unable to start activity ComponentInfo{xxxx}: android.view.InflateException: Binary XML file line #16: Error inflating class android.support.design.widget.CollapsingToolbarLayout

Solution icon of stackoverflow
Unable to start activity ComponentInfo{uk.co.XXXX.EditFactFind}: android.view.InflateException: Binary XML file line #80: Error inflating class fragment

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.apptimer.locker/org.apptimer.locker.ui.activity.Splash}: android.view.InflateException: Binary XML file line #7: Error inflating class

Stack trace

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.payfort.payfort/com.example.payfort.payfort.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class com.shamanland.fonticon.FontIconView
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
	at android.app.ActivityThread.access$800(ActivityThread.java:151)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5254)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
Caused by: android.view.InflateException: Binary XML file line #15: Error inflating class com.shamanland.fonticon.FontIconView
	at android.view.LayoutInflater.createView(LayoutInflater.java:633)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
	at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
	at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
	at com.example.payfort.payfort.MainActivity.onCreate(MainActivity.java:52)
	at android.app.Activity.performCreate(Activity.java:5990)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
	... 10 more
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Constructor.newInstance(Native Method)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
	at android.view.LayoutInflater.createView(LayoutInflater.java:607)
	... 22 more
Caused by: java.lang.IllegalStateException
	at com.shamanland.fonticon.FontIconTypefaceHolder.getTypeface(FontIconTypefaceHolder.java:13)
	at com.shamanland.fonticon.FontIconView.<init>(FontIconView.java:129)
	... 25 more

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.