Android compile error

Hello, i started a fresh windows 10 install, and installed android studio with only api 19 and 28 sdk, also i installed bot net framework 4 and the development version and unity 2018.3.3f1.
Now when i try to compile it says succeed but doesnt display the apk.
On opening of unity i have this message:

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()

Afterwords when i try to compile having the il2cpp and the net4 selected it shows 2 error says that the il2cpp.exe did not run.

Failed running C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARMv7" --configuration="Release"

try to Uncheck Strip Code