#4: compileSdkVersion vs targetSdkVersion - Android Interviews

Опубликовано: 21 Июль 2026
на канале: TL;DR Android
1,053
32

Within Android's build files, there are two properties that often have the same API level: compileSdkVersion and targetSdkVersion. What is the difference between these two properties, and what do they control? Even if these two configuration options are set to the same API level, their purposes have vastly different meanings.

---------

#android #gradle #buildtools #compileSdkVersion #targetSdkVerion #interview

TL;DR Academy:
📱 Build responsive Android apps for foldable phones and tablets
https://go.oliverspryn.com/s/foldable...

🧩 Build your first Gradle plugin
https://go.oliverspryn.com/s/gradle-p...

Behind the Scenes:
🎥 Studio setup
https://go.oliverspryn.com/gear