I have been creating an app for Android SDK 8 and it works fine. Since most users are using SDK 7 and above I tried to switch to SDK 7, but then my custom ImageViews disappear from my RelativeLayout. The app does not chrash. Is this likely happening because I am using some of the framework from SDK 8? If so: is there an easy way to find out which part of my code that makes use of SDK 8 (i.e. not checking the API level of each and every method against the developer docs)?
There is really too much code to post it here. My manifest file includes
<uses-sdk android:minSdkVersion="7"
android:targetSdkVersion="7">
and my project.properties file has the line
target=android-7
Until now they used to be 8, but I changed them all to 7.
Not sure if that's your issue, but to answer the general question of finding which APIs you're using that are above the minimum API version:
Update to the newest version of the Android Developer tools, and from the command line, run lint from the root folder of your project. Among other things, it checks for "API accesses to APIs that are not supported in all targeted API".
Helpful resources:
Developer tools page for lint
Complete list of Lint checks