Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>A few things you could try (if you haven't already) to see if you make any headway:</p> <ol> <li><p>Using hard-coded strings in the layout instead of loading them from strings.xml.</p></li> <li><p>A quick look at the origin of ArrayIndexOutOfBoundsException </p></li> </ol> <blockquote> <pre><code>07-13 13:24:21.872: E/AndroidRuntime(27215): Caused by: java.lang.ArrayIndexOutOfBoundsException: length=54; index=68 07-13 13:24:21.872: E/AndroidRuntime(27215): at android.content.res.StringBlock.get(StringBlock.java:64) 07-13 13:24:21.872: E/AndroidRuntime(27215): at android.content.res.XmlBlock$Parser.getPooledString(XmlBlock.java:458) 07-13 13:24:21.872: E/AndroidRuntime(27215): at android.content.res.TypedArray.loadStringValueAt(TypedArray.java:720) 07-13 13:24:21.872: E/AndroidRuntime(27215): at android.content.res.TypedArray.getString(TypedArray.java:124) 07-13 13:24:21.872: E/AndroidRuntime(27215): at android.widget.TextView.&lt;init&gt;(TextView.java:928) 07-13 13:24:21.872: E/AndroidRuntime(27215): at android.widget.Button.&lt;init&gt;(Button.java:107) 07-13 13:24:21.872: E/AndroidRuntime(27215): at android.widget.Button.&lt;init&gt;(Button.java:103) 07-13 13:24:21.872: E/AndroidRuntime(27215): .. 37 more </code></pre> </blockquote> <p>seems to be the TextView init at this <a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/widget/TextView.java/#928" rel="nofollow">line</a> which relates to setting the font family.</p> <p>From your layout xml, it seems like you are using a custom font family ("Lato"). </p> <pre><code>&lt;TextView android:id="@+id/displayTextView" ... android:fontFamily="Lato" ... /&gt; </code></pre> <p>Is this supported by your application? Correct me if I'm wrong but from what I last know, the system-supported font families (since API 16) for the default Roboto font were 'sans-serif', 'sans-serif-light', 'sans-serif-condensed' or 'sans-serif-thin'.</p> <p>The <code>java.lang.reflect.InvocationTargetException</code> </p> <pre><code>07-13 13:24:21.872: E/AndroidRuntime(27215): Caused by: java.lang.reflect.InvocationTargetException 07-13 13:24:21.872: E/AndroidRuntime(27215): at java.lang.reflect.Constructor.constructNative(Native Method) 07-13 13:24:21.872: E/AndroidRuntime(27215): at java.lang.reflect.Constructor.newInstance(Constructor.java:417) 07-13 13:24:21.872: E/AndroidRuntime(27215): at android.view.LayoutInflater.createView(LayoutInflater.java:587) 07-13 13:24:21.872: E/AndroidRuntime(27215): ... 34 more </code></pre> <p>could 'possibly' be caused when the system is unable to find and <a href="http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/view/LayoutInflater.java/#587" rel="nofollow">instantiate</a> your custom font through reflection resulting in the subsequent <code>InflateException</code>.</p> <p>So it's probably worth a try to use the default system font first to see if that resolves the issue.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload