java.lang.RuntimeException

Unable to start activity ComponentInfo{com.example.jmeyer27.crazytiles/com.example.jmeyer27.crazytiles.GameActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayoute


Samebug tips1

You need to setup a GlideModule before use Glide.

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


Solutions on the web54139

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.jmeyer27.crazytiles/com.example.jmeyer27.crazytiles.GameActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayoute

Solution icon of stackoverflow
via Stack Overflow by Sir George
, 8 months ago
Unable to start activity ComponentInfo{com.example.ghost.prochat/com.example.ghost.prochat.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class

Solution icon of stackoverflow
Unable to start activity ComponentInfo{org.djodjo.android.sport.GrassrootsDragRacing/org.djodjo.android.sport.GrassrootsDragRacing.LogSheet}: android.view.InflateException: Binary XML file line #2: Error inflating class

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.thoai.leminh.huntervsfruit/com.thoai.leminh.huntervsfruit.EasyLevelActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.cs.maps.Map}: android.view.InflateException: Binary XML file line #2: Error inflating class

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.ximxim.fifteen_puzzle/com.ximxim.fifteen_puzzle.MenuActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class

Solution icon of stackoverflow
via Stack Overflow by Satyam
, 1 month ago
Unable to start activity ComponentInfo{com.example.satyamchaturvedi.frag/com.example.satyamchaturvedi.frag.MainActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.admin.fragmentsmemecreator23/com.example.admin.fragmentsmemecreator23.MainActivity}: android.view.InflateException: Binary XML file line #24: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown>

Solution icon of stackoverflow
Unable to start activity ComponentInfo{muhammad.ibrahim.alkady.al_quran_al_kareem.radio/muhammad.ibrahim.alkady.al_quran_al_kareem.radio.activities.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #126: Binary XML file line #126: Error inflating class muhammad.ibrahim.alkady.al_quran_al_kareem.radio.widget.MiniMediaController

Solution icon of github
via GitHub by sampsonhuang93
, 9 months ago
Unable to start activity ComponentInfo{com.***.***_small/com.***.app.login.LoginActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.widget.RelativeLayout

Stack trace

  • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jmeyer27.crazytiles/com.example.jmeyer27.crazytiles.GameActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayoute at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) at android.app.ActivityThread.access$800(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) 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:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayoute at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:757) at android.view.LayoutInflater.inflate(LayoutInflater.java:482) 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:256) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109) at com.example.jmeyer27.crazytiles.GameActivity.onCreate(GameActivity.java:20) at android.app.Activity.performCreate(Activity.java:5933) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251) ... 10 more Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.design.widget.CoordinatorLayoute" on path: DexPathList[[zip file "/data/app/com.example.jmeyer27.crazytiles-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) ... 19 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

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
4 times, 1 year ago
159 more bugmates