java.lang.RuntimeException: Unable to start activity ComponentInfo{com.demo.solo/com.demo.solo.stub.PluginStubActivityStandard1}: android.view.InflateException: Binary XML file line #8: Error inflating class com.demo.tuna.GuitarTunaView


Solutions on the web17667

Solution icon of github
Unable to start activity ComponentInfo{com.demo.solo/com.demo.solo.stub.PluginStubActivityStandard1}: android.view.InflateException: Binary XML file line #8: Error inflating class com.demo.tuna.GuitarTunaView

Solution icon of stackoverflow
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

Solution icon of stackoverflow
Unable to start activity ComponentInfo{###/###.activity.AGBActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class android.webkit.WebView

Solution icon of bugzilla
Unable to start activity ComponentInfo{com.companyname.test/md5cdc4636fb26ffe0d36b110f63734d668.MainActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class testinflateexception.CustomPreference

Solution icon of github
Unable to start activity ComponentInfo{uk.ac.ox.ibme.myheartcounts/org.researchstack.backbone.ui.ViewVideoActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class org.researchstack.backbone.ui.views.AssetVideoView

Solution icon of github
Unable to start activity ComponentInfo{org.evilsoft.pathfinder.reference/org.evilsoft.pathfinder.reference.PathfinderOpenReferenceActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class fragment

Solution icon of github
Unable to start activity ComponentInfo{org.wordpress.android/org.wordpress.android.ui.accounts.NewAccountActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class fragment

Solution icon of github
Unable to start activity ComponentInfo{package_name/activities.MainActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class ru.yandex.yandexmapkit.MapView

Solution icon of web
via JIRA by 路辉, 1 year ago
Unable to start activity ComponentInfo{yinote.android/yinote.android.noteedit.NoteEditActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class org.xwalk.core.XWalkView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example/com.example.MainHostActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class android.support.v7.widget.GridLayout

Stack trace

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.demo.solo/com.demo.solo.stub.PluginStubActivityStandard1}: android.view.InflateException: Binary XML file line #8: Error inflating class com.demo.tuna.GuitarTunaView
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2249)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2299)
	at android.app.ActivityThread.access$700(ActivityThread.java:154)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1284)
	at com.limpoxe.fairy.core.PluginAppTrace.handleMessage(PluginAppTrace.java:40)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:5306)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:511)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
	at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #8: Error inflating class com.demo.tuna.GuitarTunaView
	at android.view.LayoutInflater.createView(LayoutInflater.java:619)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:693)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:752)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:495)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
	at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288)
	at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:143)
	at com.demo.solo.plugin.instrument.TunaActivity.onCreate(TunaActivity.java:47)
	at android.app.Activity.performCreate(Activity.java:5255)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097)
	at com.limpoxe.fairy.core.PluginInstrumentionWrapper.callActivityOnCreate(PluginInstrumentionWrapper.java:285)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2213)
	... 12 more
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Constructor.constructNative(Native Method)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
	at android.view.LayoutInflater.createView(LayoutInflater.java:593)
	... 24 more
Caused by: java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
	at com.demo.tuna.InstrumentTunaView.<init>(InstrumentTunaView.java:101)
	at com.demo.tuna.GuitarTunaView.<init>(GuitarTunaView.java:19)
	... 27 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.