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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web52924

  • 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 GPW
    , 1 year ago
    Unable to start activity ComponentInfo{activities.MainActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class org.xwalk.core.XWalkView
  • via Stack Overflow by hadi
    , 1 year ago
    Unable to start activity ComponentInfo{android.settings.MainXWalkActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class org.xwalk.core.XWalkView
  • Stack trace

    • 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 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700) Caused by: android.view.InflateException: Binary XML file line #49: Error inflating class org.xwalk.core.XWalkView 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.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 android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:129) 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) ... 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) ... 23 more Caused by: 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.<init>(XWalkView.java:237) ... 26 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

    Unknown user
    Once, 1 year ago
    9 times, 5 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 times, 4 months ago
    27 more bugmates