I tried download in different ways (Unity Download Assistant, Standalone Installer, Unity Hub) but none of them included Android SDK even tick Android Module.
=============================
Full information
I try with ‘New Empty Unity Project’
— Installation —
1.) Install Editor + Android Modules from Standalone (Official Unity site) [SUCCESS]
2.) Install Editor + Android Modules from Assistant (Offical Unity site) [SUCCESS]
3.) Install Editor + Android Modules from Hub [FAILED]
— Android Build Settings —
[If using Official Unity Android Modules SDK]
The message that pop everytime I open Android Player Settings
Failed getting available Android API levels. Could not find Android SDK Tools.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
[If use Android Studio SDK]
The message that pop everytime I open Android Player Settings
Failed getting available Android API levels. Make sure your android sdk tools version is 25 or higher and you have internet connection.
System.Threading.ThreadHelper:ThreadStart ()
These cause Android API can’t fetch problems.
— Android Build —
[If using Official Unity Android Modules {JDK + SDK + NDK + Gradle}]
UnityException: Android SDK is missing command-line tools.
Android SDK command-line tools component is not found. Make sure "Command-line Tools (latest)" is installed in the SDK manager.
If command-line tools are installed, but this message is still shown, please restart the Unity editor.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
[If use Android Studio {JDK + SDK + NDK + Gradle}]
SDK Platform Tools version 0.0 < 30.0.0. → Hit Update Android SDK → Make sure Android SDK path is writable by the Editor. → It un-tick read-only and gave all permission to full access → Same error → Hit Use Highest Installed → Requred API level 26. → Hit it again →
UnityException: Requested minimum Android SDK Platform not installed
Build set to use Minimum SDK of AndroidApiLevel22 but the latest installed SDK on the system is 0.
Please use the Android SDK Manager to install the minimum required SDK version.
Restart Unity after SDK installation for the changes to take effect.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
It seem like Unity path can't fetch the SDK.
— Workaround —
I also try to workaround by copy AndroidPlayer folder from previous working version 2021.3.39f1 to 2021.3.42f1 but still no luck.