Error resolving drawable resources in Android API Level 3
<p>I'm developing an application that uses tabs and should be compatible with Android 1.5 (API Level 3).</p>

<p>Please see <a href="http://stackoverflow.com/questions/4801443/tab-icons-compatibility-between-api-level-3-and-5">Tab icons compatibility between API level 3 and >=5</a>. Basically I have two sets of tab icons as google recommends. </p>

<ul>
<li>Tab icons for targets >= 5 are located in drawable-(h/m/l)dpi-v5. </li>
<li>Tab icons for targets &lt; 5 and all other drawable resources are located in drawable-(h/m/l)dpi. </li>
<li>My AndroidManifest.xml has <code>android:minSdkVersion="3"</code> and <code>android:targetSdkVersion="5"</code>.</li>
<li>I'm compiling using Level 7 SDK</li>
<li>All my code is Level 3 compatible</li>
</ul>

<p>When running in a device/emulator >= Level 5 everything works correctly, tab icons are displayed ok using the -v5 resources. In a device Level 4 everything also works ok, tab icons are also ok.</p>

<p>However, when using a device level 3 the app crashes when trying to resolve a drawable resource. The stack says something like this:</p>

<pre><code>Caused by: java.io.FileNotFoundException: res/drawable/splash_background.xml
       at android.content.res.AssetManager.openXmlAssetNative(Native Method)
       at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:471)
       at android.content.res.Resources.loadXmlResourceParser(Resources.java:1825)
</code></pre>

<p>Note that <code>res/drawable/splash_background.xml</code> exists. This is one example, it throws the same error when trying to fetch any drawable resource.</p>

<p>Any clues on this?</p>
