java.lang.RuntimeException: Unable to start activity ComponentInfo{org.schabi.newpipe/org.schabi.newpipe.report.ErrorActivity}: android.view.InflateException: Binary XML file line #41: Error inflating class TextView


Solutions on the web

Solution icon of github
Unable to start activity ComponentInfo{org.schabi.newpipe/org.schabi.newpipe.report.ErrorActivity}: android.view.InflateException: Binary XML file line #41: Error inflating class TextView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{cresol.deal/cresol.deal.MainActivity}: android.view.InflateException: Binary XML file line #41: Error inflating class TextView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.deepaksingh.fragment2/com.example.deepaksingh.fragment2.MainActivity}: android.view.InflateException: Binary XML file line #6: Binary XML file line #9: Binary XML file line #9: Error inflating class Textview

Solution icon of github
Unable to start activity ComponentInfo{org.sufficientlysecure.keychain.debug/org.sufficientlysecure.keychain.ui.EditKeyActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class TextView

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
Unable to start activity ComponentInfo{com.example.library/com.example.library.Screen2}: android.view.InflateException: Binary XML file line #19: Error inflating class textview

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.aaa/com.example.aaa.activity.MainActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class TextView

Solution icon of stackoverflow
via Stack Overflow by ovo oris
, 11 months ago
Unable to start activity ComponentInfo{com.example.android.ocee/com.example.android.ocee.MainActivity}: android.view.InflateException: Binary XML file line #61: Error inflating class TextView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.zebra.ar05.ztimeclock/com.zebra.ar05.ztimeclock.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class TextView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.workwithdata/com.example.workwithdata.DetailsActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class textView

Stack trace

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.schabi.newpipe/org.schabi.newpipe.report.ErrorActivity}: android.view.InflateException: Binary XML file line #41: Error inflating class TextView
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
	at android.app.ActivityThread.access$900(ActivityThread.java:175)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:146)
	at android.app.ActivityThread.main(ActivityThread.java:5602)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
	at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #41: Error inflating class TextView
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:719)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
	at android.view.LayoutInflater.inflate(Native Method)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
	at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288)
	at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:143)
	at org.schabi.newpipe.report.ErrorActivity.onCreate(ErrorActivity.java:244)
	at android.app.Activity.performCreate(Activity.java:5451)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
	... 12 more
Caused by: android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x5/d=0x1001 a=2 r=0x105002b}
	at android.content.res.Resources.loadColorStateList(Resources.java:3588)
	at android.content.res.TypedArray.getColorStateList(TypedArray.java:343)
	at android.content.res.XResources$XTypedArray.getColorStateList(XResources.java:912)
	at android.widget.TextView.<init>(TextView.java:1485)
	at android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:62)
	at android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:58)
	at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:103)
	at android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1021)
	at android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1080)
	at android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:47)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:690)
	... 27 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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year 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
2 times, 9 months ago
3 more bugmates