No, You don’t need to install everything . Install the “SDK Platform” for the Android versions you’ve set as minimum, target, and in-between the minimum & target. The Android SDK Extras are usually not required; but it is useful to be aware of them since they may be required depending on your use case.
Read moreHow do I download SDK?
Within Android Studio, you can install the Android 12 SDK as follows:
Read moreCan I download SDK only?
You will need to download the Android SDK without Android Studio bundled . Go to Android SDK and navigate to the SDK Tools Only section. Copy the URL for the download that’s appropriate for your build machine OS.
Read more