I have looked at the documentation for building with Gradle, but I'm still not sure what the difference between
All it says is:
compileSdkVersionproperty specifies the compilation target.
Well, what is the "compilation target"?
I see two possible ways to interpret this:
compileSdkVersionis the version of the compiler used in building the app, while
targetSdkVersionis the "API level that the application targets". (If this were the case, I'd assume
compileSdkVersionmust be greater than or equal to the
- They mean the same thing. "compilation target" == "the API level that the application targets"
- Something else?
I see that this question has been asked before, but the one answer just quotes the doc, which is what is unclear to me.