views:

92

answers:

1

I am getting the warning:

Attribute minSdkVersion (3) is lower than the project target API level (8)

How will this affect my app?

A: 

You can safely ignore the warning.

It's a weird warning - it means you are using tools for API level 8 (Android 2.2/Froyo) but targeting API level 3 (Android 1.5/Cupcake). That warning will always come up unless you you were using the SDK to target the Android release it coincides with - in this case, you would have to target Android 2.2 with your current SDK.

birryree
It _does_ mean that you'd better do extensive testing. Since you're compiling against the target API, there is no guarantee that all of the classes and methods you reference will be present in the earlier APIs that the "minSdkVersion" obliges you to support. You are responsible for either making sure you don't use any of those newer interfaces, or that you fail gracefully if they aren't present.
beekeeper