What is target sdk version used for?

The target sdk version is the version of Android that your app was created to run on . The compile sdk version is the the version of Android that the build tools uses to compile and build the application in order to release, run, or debug. Usually the compile sdk version and the target sdk version are the same.

Read more

What is the target sdk version?

android:targetSdkVersion — Specifies the API Level on which the application is designed to run . In some cases, this allows the application to use manifest elements or behaviors defined in the target API Level, rather than being restricted to using only those defined for the minimum API Level.

Read more