Android: How to maintain backwards-compatibility?

Posted by Peterdk on Stack Overflow See other posts from Stack Overflow or by Peterdk
Published on 2010-04-17T15:52:13Z Indexed on 2010/04/17 17:43 UTC
Read the original article Hit count: 350

According to the instructions found here, to make your app state which screen sizes you can support, you'll need to compile your app against Android 1.6.

Using the minSdkVersion and targetSdkVersion this should run also on Android 1.5:

  <uses-sdk android:minSdkVersion="3" 
          android:targetSdkVersion="4"/>

However, when I try to launch my app from Eclipse to run in a emulated 1.5, I get the following error:

 Failed to find an AVD compatible with target 'Android 1.6'.

Is this an error of the eclipse tools/emulator? Or how do I get it to also target 1.5 correctly while giving me the option to specify the supported screens?

© Stack Overflow or respective owner

Related posts about android

Related posts about android-emulator