android.view.InflateException: Binary XML file line #8: Error inflating class com.demo.tuna.GuitarTunaView


Solutions on the web2296

Solution icon of github
Binary XML file line #8: Error inflating class com.demo.tuna.GuitarTunaView

Solution icon of coderanch
via Coderanch by Dov Ezra, 9 months ago
Binary XML file line #8: Error inflating class me.tests.MySurf

Solution icon of stackoverflow
via Stack Overflow by Zero
, 1 year ago
Binary XML file line #8: Error inflating class com.andriesse.athena.PinchToZoom

Solution icon of stackoverflow
via Stack Overflow by Rookatu
, 1 year ago
Binary XML file line #8: Error inflating class com.collin.customcanvasengine.CustomCanvasView

Solution icon of stackoverflow
Binary XML file line #8: Error inflating class nv.bao.BaoView

Solution icon of stackoverflow
Binary XML file line #8: Error inflating class com.google.android.gms.ads.AdView

Solution icon of stackoverflow
via Stack Overflow by M-WaJeEh
, 1 year ago
Binary XML file line #8: Error inflating class android.widget.TextView

Solution icon of stackoverflow
Binary XML file line #8: Error inflating class android.support.v4.view.ViewPager

Solution icon of stackoverflow
Binary XML file line #8: Error inflating class com.google.android.maps.MapView

Solution icon of web
via xda-developers.com by Unknown author, 1 year ago
Binary XML file line #8: Error inflating class android.support.v7.widget.Toolbar

Stack trace

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)
	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: 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.