Cause of NoSuchFieldError in setContentView?
<p>Does anyone know why I would get the following stack trace when calling setContentView? This error only occurs a few times out of 100,000 so I have never been able to reproduce this myself.</p>

<p>Stack Trace:</p>

<pre><code>    Caused by: java.lang.NoSuchFieldError: encodedScAddress 
    at android.content.res.XmlBlock$Parser.next(XmlBlock.java:249) 
    at android.graphics.drawable.GradientDrawable.inflate(GradientDrawable.java:623) 
    at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:788) 
    at android.graphics.drawable.Drawable.createFromXml(Drawable.java:729) 
    at android.content.res.Resources.loadDrawable(Resources.java:1694) 
    at android.content.res.TypedArray.getDrawable(TypedArray.java:601) 
    at android.view.View.&lt;init&gt;(View.java:1885) 
    at android.view.View.&lt;init&gt;(View.java:1834) 
    at android.view.ViewGroup.&lt;init&gt;(ViewGroup.java:285) 
</code></pre>

<p>The crash occurs when this line in the XML file it is trying to inflate.</p>

<pre><code>    &lt;RelativeLayout 
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_width="fill_parent"
            android:id="@+id/addressBoxOut"
            android:background="@drawable/box_black_round"
            android:layout_margin="10dp"
            android:layout_below="@+id/modeButtonContainer"&gt;
</code></pre>

<p>It is related to a drawable so I'm guessing it has something to do with the background which is this xml drawable.</p>

<pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"&gt;
            &lt;solid android:color="#000000"/&gt;
            &lt;padding android:left="1px"
                    android:top="1px"
                    android:right="1px"
                    android:bottom="1px" /&gt;
            &lt;corners android:radius="8dp" /&gt;
    &lt;/shape&gt;
</code></pre>
