Cannot build for Android

I use Unity 2018.1.6f1

When I build for Andoird

The errors I am getting are:

CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct.
C:/Users/tuant/AppData/Local/Android/Sdk ools\bin\avdmanager.bat list target -c

Thank you

Try this solution, it was the solution about 3 times now using different SDK and Unity versions:

I solved it by changing the Company Name in player settings to the lower case without any spaces.