Differences SDK 2.1 to 2.2?
Monkey Targets Forums/Android/Differences SDK 2.1 to 2.2?
| ||
Hi all, I have the strange problem that I get an instant crash of my app using the 2.1 SDK emulator where everything works fine if I start it with the 2.2 SDK. The target SDK version level is set to 7 (2.1) in the manifest. Any chance how I can check what goes wrong there? |
| ||
Ok, must be due to this resource limit... http://www.monkeycoder.co.nz/Community/posts.php?topic=951#16265 |
| ||
You can use ddms to check on how much heap space you have to play around with. My little Monkey test program didn't use much heap space, however the emulator had more than 400 MB of memory available. I'm sad to say it, but I doubt you're using that kind of memory (without leaking). |
| ||
No. I use about 26.6 MB. The usual heap size is limited to 16-24 MB or 32 MB on my Desire HD. |
| ||
So. Explain to me again why you're having trouble running it in the emulator, which doesn't have this resource limit? |
| ||
The emulator has the same limit. Default is 24MB there. |