Just installed the latest LTS version of unity 2019 (2019.4.12) hoping it would have a newer android platform sdk bundled with it: android-29 for android 10. There seem to be some things changed in that direction from the previous version, but inside the unity path: ‘C:\Program Files\Unity\Hub\Editor\2019.4.12f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK’
the ‘platforms’ folder is missing and right in the SDK folder listed above, there is an android-10 folder.
Trying to make a build for android with the ‘Android SDK Tools installed with unity’ setting from Preferences checked, and also the 'Automatic (highest installed) as a Target API Level from Player/Other Settings, gives an error: Required API level 26.
Also the android-10 folder that seems to be misplaced in the android sdk folder instead of the ‘SDK/platforms’, isn’t for the api-10 (Android 2.3.3 Gingerbread), right?
I have this exact same problem, everything up from the 2019.3.14f1 (this is the last version where everything works, even new projects) have some issues with missing SDK. I even installed “missing” packages with Android SDK Manager and change the path in unity, but it didn’t help. I recently updated Unity Hub to 2.4.1, not sure if this is relevant.
I have this issue on Mac, so… You might want to double check that…
Edit: I should say that I’m using 2019.4.14f1
Edit2: I was able to get it working with sdkmanager. One thing, in case someone else gets bitten: Don’t just run sdkmanager “platforms;android-##”. Instead, CD into the relevant Unity folder where the SDK is stored and run ./sdkmanager so you’re absolutely sure it won’t launch some other sdkmanager that just happens to be on the path. The android tool chain is such a trainwreck…