android.view.InflateException

Binary XML file line #17: Error inflating class TextView

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web34

  • via Stack Overflow by josemigallas
    ,
  • via Stack Overflow by abondoa
    ,
  • Stack trace

    • android.view.InflateException: Binary XML file line #17: Error inflating class TextView at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713) at android.view.LayoutInflater.inflate(LayoutInflater.java:469) at android.view.LayoutInflater.inflate(LayoutInflater.java:397) at android.view.LayoutInflater.inflate(LayoutInflater.java:353) at android.widget.Editor$ActionPopupWindow.initContentView(Editor.java:2973) at android.widget.Editor$PinnedPopupWindow.<init>(Editor.java:2268) at android.widget.Editor$ActionPopupWindow.<init>(Editor.java:2946) at android.widget.Editor$ActionPopupWindow.<init>(Editor.java:2946) at android.widget.Editor$HandleView.showActionPopupWindow(Editor.java:3166) at android.widget.Editor$SelectionModifierCursorController.initHandles(Editor.java:3690) at android.widget.Editor$SelectionModifierCursorController.show(Editor.java:3661) at android.widget.Editor$SelectionActionModeCallback.onCreateActionMode(Editor.java:2896) at com.android.internal.policy.impl.PhoneWindow$DecorView$ActionModeCallbackWrapper.onCreateActionMode(PhoneWindow.java:2811) at android.support.v7.view.SupportActionModeWrapper$CallbackWrapper.onCreateActionMode(SupportActionModeWrapper.java:155) at android.support.v7.app.AppCompatDelegateImplV7$ActionModeCallbackWrapperV7.onCreateActionMode(AppCompatDelegateImplV7.java:1742) at android.support.v7.app.AppCompatDelegateImplV7.startSupportActionModeFromWindow(AppCompatDelegateImplV7.java:802) at android.support.v7.app.AppCompatDelegateImplV7.startSupportActionMode(AppCompatDelegateImplV7.java:696) at android.support.v7.app.AppCompatDelegateImplV14$AppCompatWindowCallbackV14.startAsSupportActionMode(AppCompatDelegateImplV14.java:187) at android.support.v7.app.AppCompatDelegateImplV14$AppCompatWindowCallbackV14.onWindowStartingActionMode(AppCompatDelegateImplV14.java:171) at com.android.internal.policy.impl.PhoneWindow$DecorView.startActionMode(PhoneWindow.java:2432) at com.android.internal.policy.impl.PhoneWindow$DecorView.startActionModeForChild(PhoneWindow.java:2419) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:689) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:689) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:689) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:689) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:689) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:689) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:689) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:689) at android.view.View.startActionMode(View.java:4561) at android.widget.Editor.startSelectionActionMode(Editor.java:1584) at android.widget.Editor.performLongClick(Editor.java:877) at android.widget.TextView.performLongClick(TextView.java:8585) at android.view.View$CheckForLongPress.run(View.java:18768) at android.os.Handler.handleCallback(Handler.java:808) at android.os.Handler.dispatchMessage(Handler.java:103) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:5299) 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:829) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ArrayIndexOutOfBoundsException: length=15; index=1570 at android.content.res.StringBlock.get(StringBlock.java:65) at android.content.res.XmlBlock$Parser.getPooledString(XmlBlock.java:458) at android.content.res.TypedArray.loadStringValueAt(TypedArray.java:721) at android.content.res.TypedArray.getString(TypedArray.java:125) at android.widget.TextView.<init>(TextView.java:1002) at android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:60)

    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

    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,