0

I created an app compatible with API level 14+. I want to now make it compatible with API level 10+. I know for a fact I am using API calls introduced in 14, so I was planning on lowering the minSdkVersion first, and then fix the errors that it caused.

The only problem is, when I lowered the minSdkVersion in the manifest, no errors are thrown. It used to throw errors when I did this, but now it isn't for some reason.

Is there a way to force Eclipse to check my API calls and make sure they are compatible with the current minSdkVersion?

Thank you.

Dick Lucas
  • 12,289
  • 14
  • 49
  • 76

2 Answers2

2

Right-click over the project in Package Explorer, and choose Android Tools > Run Lint.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
0

If you change the minSdkVersion it won't change what sdk the app in compiled against, only the api levels that the application can be installed on.

If you want to compile against a lower sdk change the targetSdkVersion.

Links: Difference between "Build Target SDK" in Eclipse and android:targetSdkVersion in AndroidManifest.xml? and http://developer.android.com/guide/topics/manifest/uses-sdk-element.html also Android Min SDK Version vs. Target SDK Version

Community
  • 1
  • 1
Bmoore
  • 315
  • 4
  • 16