Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • CompileSdkVersion, minSdkVersion and targetSdkVersion

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 846
    Comment on it

    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.

    compileSdkVersion:
    It says the Gradle about version of the Android SDK to compile our project. We can use of the new APIs added.
    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 compilation checks.

    minSdkVersion:
    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.

    targetSdkVersion:
    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.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: