WARNING: Application does not specify an API level requirement!


Last Updated:

  1. StevenHu

    StevenHu Well-Known Member This Topic's Starter

    Joined:
    Feb 8, 2011
    Messages:
    91
    Likes Received:
    0
    I get this message in the console when testing on an Android device: "WARNING: Application does not specify an API level requirement!"

    I checked my AVD manager in Eclipse and the API level is there. But how do I specify it in the application?

    Thanks!
     

    Advertisement
  2. cr5315

    cr5315 Well-Known Member Developer

    Joined:
    Jul 23, 2010
    Messages:
    435
    Likes Received:
    158
    In your AndroidManifest, go to the </application> tag and right under that put
    <uses-sdk android:minSdkVersion="3" />

    The 3 is the API level for Android 1.5
    If you want other levels, use:
    1.5 - 3
    1.6 - 4
    2.1 - 7
    2.2 - 8
    2.3.1 - 9
    2.3.3 - 10
     

Share This Page

Loading...