Tells the
Gradle
which version it should build the application on.
Defines the specific device which the application is built for. The
targetSdkVersion
has nothing to do with how your app is compiled or what APIs you can utilize.
The least version of API level that your application supports.