Search code examples
androidbackwards-compatibilityeclipse-adtandroid-sdk-tools

Why doesn't the android SDK warn me about backward compatibility issues?


I set my minimum API version to 8, but the android SDK fails to warn me when I use functions that were added in API 14. Why is that?

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

Solution

  • Right click on your project -> Android tools -> Run Lint.
    The Lint tool will warn you. It also checks for incompleteness in your strings file etc.