Resources$NotFoundException exception for drawable - but it does exist?
<p>I'm starting to see an odd set of stack traces from the marketplace crash reports interface. I'm being told a drawable resource does not exist. The xml in question:</p>

<pre><code>&lt;ImageView
  android:layout_width="13dip"
  android:layout_height="12dip"
  android:src="@drawable/foo"
  /&gt;
</code></pre>

<p>causing:</p>

<pre><code>java.lang.RuntimeException: 
    Unable to start activity ComponentInfo{com.me.app/com.me.app.MyActivity}: 
    android.view.InflateException: Binary XML file line #51: 
    Error inflating class &lt;unknown&gt;
...
Caused by: android.content.res.Resources$NotFoundException: 
  File res/drawable-hdpi/foo.png from drawable resource ID #0x7f020166
  at android.content.res.Resources.loadDrawable(Resources.java:1732)
  at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
  at android.widget.ImageView.&lt;init&gt;(ImageView.java:118)
  at android.widget.ImageView.&lt;init&gt;(ImageView.java:108)
Caused by: java.io.FileNotFoundException: 
  res/drawable-hdpi/foo.png
  at android.content.res.AssetManager.openNonAssetNative(Native Method)
  at android.content.res.AssetManager.openNonAsset(AssetManager.java:417)
  at android.content.res.Resources.loadDrawable(Resources.java:1724)
</code></pre>

<p>Now "foo.png" exists in both my "drawable" and "drawable-hdpi" folders. I haven't touched either of these drawables in ages - not sure why this error started popping up? Happening on a range of devices, Droids, Nexus Ones, etc.</p>

<p>Thanks</p>
