I download the "commandlinetools-win_latest" file
I installed it in Windows using the following commands in CMD:
1- sdkmanager "platform-tools"
2- sdkmanager "platforms;android-28"
After the download finished 100% I copied the directory path "C:/Android/cmdline-tools/tools" to Unity
But when i try build the Apk file, always i see this message (picture):
unable to detect sdk in the selected directory
C:/Android/cmdline-tools/tools/cmdline-tools/latest/bin/sdkmanger.bat does not exist …
enter image description here
I’ve been searching for a few days and haven’t found a solution
Source: Windows Questions