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.


,
via github.io by Unknown author

Solutions on the web17687

Solution icon of github
via GitHub by hoffiAT
, 9 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 github
Unable to start activity ComponentInfo{.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference

Solution icon of stackoverflow
Unable to start activity ComponentInfo{test.example.myfirstapp/test.example.myfirstapp.CameraActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class test.example.myfirstapp.DrawView

Solution icon of stackoverflow
via Stack Overflow by Ale
, 1 year ago
Unable to start activity ComponentInfo{it.aledev.todolist2/it.aledev.todolist2.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment

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

Solution icon of web
Unable to start activity ComponentInfo{fuad.viewmaps/fuad.viewmaps.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.dip.allnavyinfo/com.dip.allnavyinfo.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class Textview

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

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

Solution icon of github
via GitHub by dirkam
, 1 year ago
Unable to start activity ComponentInfo{com.my.app/com.my.app.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference

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, 7 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
165 more bugmates