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