It is very important to know the difference between all of them.
We have to make sure that existing apps built against prior SDKs should not break when the user
updates to a new version.
It says the Gradle about version of the Android SDK to compile our project. We can use of the new
Note: Changing compileSdkVersion will not change runtime behaviour.
It is always recommended that compile with the latest SDK. You will get all the benefits of new
Basically, it tell which devices an app can be installed on.
Actually it is the lower bound for the app.
Make sure that our minSdkVersion must be atleast high as our dependencies minSdkVersion
Note: 0.8% of 1.4 billion devices is a lot.
It is the most important of the three. We cannot apply behaviour changes of or app until we update
the target SdkVersion.
This allow us to use new APIs. By doing some changes and modifications we can update our app with
the latest sdk. We should test properly before updating the targetSdkVersion.