Reputation: 1041
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
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