java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.graphs.viewchart/com.example.graphs.viewchart.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class com.github.ppartisan.graphish.view.BarView


Samebug tips

You need to setup a GlideModule before use Glide.


,
via github.io by Unknown author

Solutions on the web

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.graphs.viewchart/com.example.graphs.viewchart.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class com.github.ppartisan.graphish.view.BarView

Solution icon of stackoverflow
via Stack Overflow by PeakGen
, 9 months ago
Unable to start activity ComponentInfo{com.example.graphs.viewchart/com.example.graphs.viewchart.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class com.github.ppartisan.graphish.view.BarView

Solution icon of github
Unable to start activity ComponentInfo{com.didi.virtualapk/com.didi.virtualapk.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class <unknown>

Solution icon of github
via GitHub by changkai244
, 2 months ago
Unable to start activity ComponentInfo{com.didi.virtualapk/com.didi.virtualapk.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class <unknown>

Solution icon of github
via GitHub by Heromine
, 1 year ago
Unable to start activity ComponentInfo{signature.Gitty}: android.view.InflateException: Binary XML file line #175: Error inflating class com.melnykov.fab.FloatingActionButton

Solution icon of github
via GitHub by Heromine
, 1 year ago
Unable to start activity ComponentInfo{_._/_.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class com.astuetz.PagerSlidingTabStrip

Solution icon of github
Unable to start activity ComponentInfo{fw.asmx.fwim/fw.asmx.fwim.MainActivity}: android.view.InflateException: Binary XML file line #27: Error inflating class com.haibison.android.lockpattern.widget.LockPatternView

Solution icon of github
via GitHub by bleege
, 1 year ago
Unable to start activity ComponentInfo{com.mapbox.mapboxgl.testapp/com.mapbox.mapboxgl.testapp.MainActivity}: android.view.InflateException: Binary XML file line #32: Error inflating class fragment

Solution icon of github
Unable to start activity ComponentInfo{kong.qingwei.kqwfacedetectiondemo/kong.qingwei.kqwfacedetectiondemo.MainActivity}: android.view.InflateException: Binary XML file line #45: Error inflating class kong.qingwei.kqwfacedetectiondemo.CameraFaceDetectionView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.XYZ.carnival.debug/com.XYZ.carnival.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class <unknown>

Stack trace

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.graphs.viewchart/com.example.graphs.viewchart.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class com.github.ppartisan.graphish.view.BarView
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2656)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2721)
	at android.app.ActivityThread.access$900(ActivityThread.java:168)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1393)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5753)
	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:1405)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
Caused by: android.view.InflateException: Binary XML file line #36: Error inflating class com.github.ppartisan.graphish.view.BarView
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:757)
	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.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
	at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
	at com.example.graphs.viewchart.MainActivity.onCreate(MainActivity.java:21)
	at android.app.Activity.performCreate(Activity.java:6112)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1117)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2609)
	... 10 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.github.ppartisan.graphish.view.BarView" on path: DexPathList[[zip file "/data/app/com.example.graphs.viewchart-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
	at android.view.LayoutInflater.createView(LayoutInflater.java:571)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
	... 22 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

9 times, 3 weeks ago
43 times, 1 year ago
39 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
165 more bugmates