I do have an app that should only be visible in the market for Android 1.5 and 1.6 devices. So I thought I compile for SDK version 3 and set
<uses-sdk minSdkVersion="3" maxSdkVersion="4" />
But it seems not to be so easy. I get an error saying
error: No resource identifier found for attribute 'maxSdkVersion' in package 'android'
How am I supposed to achieve that my app is only visible for sdk version 3 and 4 devices?
Just to clarify: i have a second version of the app in the market for all devices with android >2.0 because it makes use of the AccountManager. The new version doesn’t make use of it since it’s not supported in 1.5 and 1.6.
You are probably getting that error because you are developing against the 1.5 SDK instead of 1.6.
To test it on the 1.5 Emulator you have to manually install the apk.