[mono-android] SDK Error??
Jonathan Pryor
jpryor at novell.com
Fri Mar 25 09:17:00 EDT 2011
On Mar 25, 2011, at 8:56 AM, Paolo wrote:
> I have installed last android SDK:
> - Android SDK Tools, revision 10;
The _default_ platform, if you don't specify one, is API level 8. (Why 8? It used to be "whatever is latest," then it broke one of our internal unit tests when it started building against API level 9 when my test device was API level 8. Is this stupid? Possibly.)
You can specify the API level you're targeting by using Project->Options, Application tab.
Note, though, that it is ill advised to run under an earlier API level than what the program was built for, e.g. running your app on an Android 2.2 device when you built it against the Android 2.3.3 API level. It _can_ break (spoken from experience). Targeting an API level that's <= your target device is fine (e.g. targeting API level 7 and running on an API level 8 device).
Consequently, targeting API level 10 would likely be undesirable as a default anyway, given that so few people actually have such a device...
- Jon
More information about the Monodroid
mailing list