Android 2.1 package installer crashes when installing my app
<p>I have a dictionary application which I'd really like to get working on Android 2.1 devices. The .apk file is a little bit large at 13MB and it includes around 10,000 small asset files. If I install the application on my Android 4.0 device it works fine but apparently on older devices the installer crashes so it can't be used. Sure enough if I try to install it in the emulator I get the following errors from the logcat output:</p>

<pre><code>E/dalvikvm-heap(   52): Out of memory on a 80-byte allocation.
I/dalvikvm(   52): "PackageManager" prio=5 tid=21 RUNNABLE
I/dalvikvm(   52):   | group="main" sCount=0 dsCount=0 s=N obj=0x44c31010 self=0x1269b8
I/dalvikvm(   52):   | sysTid=67 nice=10 sched=0/0 cgrp=bg_non_interactive handle=1202624
I/dalvikvm(   52):   at java.lang.String.&lt;init&gt;(String.java:~513)
I/dalvikvm(   52):   at java.util.jar.InitManifest.readValue(InitManifest.java:205)
I/dalvikvm(   52):   at java.util.jar.InitManifest.readHeader(InitManifest.java:117)
</code></pre>

<p>After that the entire phone resets.</p>

<p>If I create a different .apk file that is identical except that it has a lot fewer assets then it installs fine.</p>

<p>Has anybody encountered this problem? Is there anything I can do to work around it?</p>

<p>The application is in the Google Play store here:</p>

<p><a href="https://play.google.com/store/apps/details?id=uk.co.busydoingnothing.prevo" rel="nofollow">https://play.google.com/store/apps/details?id=uk.co.busydoingnothing.prevo</a></p>

<p>You can also try to directly install it in the emulator using this link:</p>

<p><a href="http://www.busydoingnothing.co.uk/prevo/PReVo-0.3.apk" rel="nofollow">http://www.busydoingnothing.co.uk/prevo/PReVo-0.3.apk</a></p>
