Like everyone, I use many libraries and methods in my project. For each method, the Android documentation mentions "Available with API XX".
Is there a tool in Ecplise to find out what is the minimum API required to run my project? (without having to drop all the methods used in my project to check which one uses the lowest API ...)
The solution is to use an emulator with different API levels, but is there any other simple tool for checking?
I am using Eclipse.
Thanks!
[EDIT]
Found a solution! In fact, I did the following (very simple): 1) Right-click the project folder (blue folder) 2) Click "Properties" 3) Click "Android" 4) Reduce the version of the API 5) Click "Apply" and "OK" 6) See if some errors appear 6) Repeat the procedure until you find the lowest API for which you have no errors 7) Write the API level in targetSdkVersion in your AndroidManifest.xml! 8) Finally, check the application in the emulator configured with a minimum API level!
source share