java.lang.RuntimeException: Unable to start activity ComponentInfo{com.craig.examples.xwalk/com.craig.examples.xwalk.MainActivity}: android.view.InflateException: Binary XML file line #49: Error inflating class org.xwalk.core.XWalkView

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

Solutions on the web

via JIRA by Clifton Craig, 1 year ago
Unable to start activity ComponentInfo{com.craig.examples.xwalk/com.craig.examples.xwalk.MainActivity}: android.view.InflateException: Binary XML file line #49: Error inflating class org.xwalk.core.XWalkView
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{fr.ab.xwalkCordova/fr.ab.xwalkCordova.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class org.xwalk.core.XWalkView
via Stack Overflow by KT79
, 2 years ago
Unable to start activity ComponentInfo{uk.co.XXXX.EditFactFind}: android.view.InflateException: Binary XML file line #80: Error inflating class fragment
via Stack Overflow by user1308018
, 2 years ago
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
via GitHub by sampsonhuang93
, 1 year ago
Unable to start activity ComponentInfo{***.MainActivity}: android.view.InflateException: Binary XML file line #175: Error inflating class Button
junit.framework.AssertionFailedError: Please have your activity extend XWalkActivity for shared mode
at junit.framework.Assert.fail(Assert.java:50)
at org.xwalk.core.XWalkCoreWrapper.initEmbeddedMode(XWalkCoreWrapper.java:220)
at org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:1451)
at org.xwalk.core.XWalkView.(XWalkView.java:237)
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:607)
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.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:267)
at com.craig.examples.xwalk.MainActivity.onCreate(MainActivity.java:33)
at android.app.Activity.performCreate(Activity.java:6010)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
at android.app.ActivityThread.access$800(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
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:905)

Users with the same issue

Once, 4 weeks ago
Once, 1 month ago
28 times, 1 month ago
Once, 3 months ago
4 times, 4 months ago

Write tip

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