This page last changed on Jun 06, 2011 by cortextual.

Since we support a version of the Android API (level 4) that is older than the target version which we compile against (level 11), it's important to know when code being developed uses something in the Android SDK that is not available at any of the supported API levels. The API Analysis Eclipse plugin at http://code.google.com/p/adt-addons/ issues warnings in such cases and has saved me from checking in code that would not work on API levels 4-7.

If Eclipse is not being used, temporarily changing the AndroidManifest.xml file's uses-sdk line from

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

to

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

and compiling should also work as a test. Any usage of more recent APIs than level 4 would cause compilation to fail.

Document generated by Confluence on Jun 05, 2016 09:32