• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps WARNING: Application does not specify an API level requirement!

StevenHu

Member
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!
 
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
 
Back
Top Bottom