java.lang.RuntimeException

Unable to start activity ComponentInfo{com.nielsmasdorp.speculum/com.nielsmasdorp.speculum.views.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class TextClock


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 web53770

Solution icon of github
via GitHub by hoffiAT
, 7 months ago
Unable to start activity ComponentInfo{com.nielsmasdorp.speculum/com.nielsmasdorp.speculum.views.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class TextClock

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

Solution icon of web
Unable to start activity ComponentInfo{.map.EsriMapWidget}: android.view.InflateException: Binary XML file line #13: Error inflating class com.esri.android.map.MapView

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{.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference

Solution icon of stackoverflow
via Stack Overflow by user6680
, 1 year ago
Unable to start activity ComponentInfo{com.example.andy.design/com.example.andy.design.Activity2}: android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class activity

Solution icon of github
Unable to start activity ComponentInfo{com.quarkprojects.socialnetworkcards/com.quarkprojects.socialnetworkcards.MainActivity}: android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class fragment

Solution icon of stackoverflow
via Stack Overflow by saifur
, 8 months ago
Unable to start activity ComponentInfo{com.example.musicsaround/com.example.musicsaround.dj.DJActivity}: android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class fragment

Solution icon of stackoverflow
Unable to start activity ComponentInfo{codigofacilito.applistacompras/codigofacilito.applistacompras.Activities.MainActivity}: android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class fragment

Solution icon of coderanch
via Coderanch by Peter Hudson, 7 months ago
Unable to start activity ComponentInfo{com.peter.testkeys/com.peter.testkeys.TestKey}: android.view.InflateException: Binary XML file line #13: Error inflating class KeyBoardView

Stack trace

  • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nielsmasdorp.speculum/com.nielsmasdorp.speculum.views.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class TextClock at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084) at android.app.ActivityThread.access$600(ActivityThread.java:130) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4745) 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:786) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #13: Error inflating class TextClock at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:698) at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) at android.view.LayoutInflater.rInflate(LayoutInflater.java:749) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.ViewStub.inflate(ViewStub.java:258) at com.nielsmasdorp.speculum.views.MainActivity.onCreate(MainActivity.java:154) at android.app.Activity.performCreate(Activity.java:5008) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023) ... 11 more Caused by: java.lang.ClassNotFoundException: android.view.TextClock at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61) at java.lang.ClassLoader.loadClass(ClassLoader.java:501) at java.lang.ClassLoader.loadClass(ClassLoader.java:461) at android.view.LayoutInflater.createView(LayoutInflater.java:552) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:643) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:66) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685) ... 20 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

5 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
21 times, 1 year ago
2 times, 1 year ago
Once, 1 year ago
159 more bugmates