Mode77
Mode77

Reputation: 1041

Compiled and target SDK version higher than device SDK version

My compiled and target sdk version is 26, but the phone I'm debugging on is running 24.

From what I understand, the compiled sdk version is just the version of the sdk that the compiler actually uses during compilation, but will my device just ignore the features of the later version?

Upvotes: 1

Views: 854

Answers (1)

jitinsharma
jitinsharma

Reputation: 1486

Compile sdk is just used for compilation. It has no effect on runtime behaviour since it's not packaged inside your app.

Any features which are exclusive to API later than 24 will not work but you will get an error during compilation/development if you used them without certain checks depending on what minSdk you specify. Exception is support libraries which are packaged inside the app.

Upvotes: 1

Related Questions