java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mmido.asfarandroid/com.example.mmido.trivelgob2b.TrivelgoB2B.MainActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class pl.droidsonroids.gif.GifImageView

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

Samebug tips

,
via github.io by Unknown author

You need to setup a GlideModule before use Glide.

Solutions on the web

via Stack Overflow by Asmaa Rashad
, 1 year ago
Unable to start activity ComponentInfo{com.example.mmido.asfarandroid/com.example.mmido.trivelgob2b.TrivelgoB2B.MainActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class pl.droidsonroids.gif.GifImageView
via GitHub by saikat1529
, 7 months ago
Unable to start activity ComponentInfo{com.nullpointerbd.iucf/com.nullpointerbd.iucf.Activity.SplashScreen}: android.view.InflateException: Binary XML file line #34: Error inflating class pl.droidsonroids.gif.GifImageView
via GitHub by yqpan1991
, 2 years ago
Unable to start activity ComponentInfo{com.test/com.test.demo.GifViewActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class pl.droidsonroids.gif.GifImageView
via GitHub by Kris9527
, 2 years ago
Unable to start activity ComponentInfo{com.example.test/com.example.test.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class pl.droidsonroids.gif.GifImageView
via GitHub by kongnanlive
, 11 months ago
Unable to start activity ComponentInfo{com.anderson.example/com.anderson.example.MainActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class com.anderson.dashboardview.view.DashboardView
via GitHub by KenToshi
, 11 months ago
Unable to start activity ComponentInfo{newage.anthony.atjara/newage.anthony.atjara.EventCalendar.EventCalendarActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class jp.co.recruit_mp.android.lightcalendarview.LightCalendarView
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mmido.asfarandroid/com.example.mmido.trivelgob2b.TrivelgoB2B.MainActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class pl.droidsonroids.gif.GifImageView
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at android.view.LayoutInflater.createView(LayoutInflater.java:559)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
at com.example.mmido.trivelgob2b.TrivelgoB2B.MainActivity.onCreate(MainActivity.java:52)
at android.app.Activity.performCreate(Activity.java:5264)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2349)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2436)
at android.app.ActivityThread.access$800(ActivityThread.java:157)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1374)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 times, 1 year ago
165 more bugmates

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