top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Android version compatibility

+4 votes

Does the application compiled on higher sdk version work with lower API?

compileSdkVersion 23

This is my sdk version.

posted Jun 22, 2016 by Akshay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

compileSdkVersion is your way to tell Gradle what version of the Android SDK to compile your app with. Using the new Android SDK is a requirement to use any of the new APIs added in that level.
It should be emphasized that changing your compileSdkVersion does not change runtime behavior. While new compiler warnings/errors may be present when changing your compileSdkVersion, your compileSdkVersion is not included in your APK: it is purely used at compile time. (You should really fix those warnings though — they were added for a reason!)
Therefore it is strongly recommended that you always compile with the latest SDK.
If compileSdkVersion sets the newest APIs available to you, minSdkVersion is the lower bound for your app. The minSdkVersion is one of the signals the Google Play Store uses to determine which of a user’s devices an app can be installed on.
So your will run on lower APIs and it doesn't depend on compile sdk version but some features may not support.
Example: API 23 supports metallic design and you develop you app using 23 but as you set minsdk to lowers APIs then it will run on lower versions but metallic view will not be visible to you.

answer Jun 26, 2016 by Shivam Kumar Pandey
Similar Questions
0 votes

Recently, I have installed latest node version. But I need to install node version 6 instead of latest version.

Can anyone suggest how to downgrade? I'm new to node.js.

+1 vote

I have changed my Php version from 7 to 5.
I got this error ==>

mcrypt_encrypt(): Key of size 10 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported

How to fix this?

+3 votes

Is there a particular reason or is it that it's just not bothered being built that often that new versions of Git is released?

How can I build new versions of Git myself?

+1 vote
+3 votes

Which is the latest version of Informatica and what is the difference as compare to 8.x.