It depends on what you want to do. If you want to support multiple versions of Android, then do what Falmarry said. Choose the lowest version of the API that you want to support for minSDK , and select the version of the API that you are targeting for buildTarget .
However, you should keep in mind that you may have to handle certain things differently for different versions of the API, which may require an if-else lock on the version of the API. There is nothing complicated about it, and something magic just does not forget and checks the link page for the classes and methods that you use.
Octavian damiean
source share