I have a very simple app I am trying to test on android and every time I go to build it errors saying:
Android SDK is missing required platform API. Required API level 23.
If i click update android SDK it’s just an an endless loop with the same error showing and the same result every time I click update android SDK.
If i click cancel it has this error: UnityException: Required API level 23.
Make sure Android SDK path is writable by the Editor.
If i click Use Highest installed version it errors: Build set to use Minimum SDK of AndroidApiLevel23 but the latest installed SDK on the system is 0.
Please use the Android SDK installation tool to install the minimum required SDK version.
I for sure have my paths right on the Android SDK. I am able to build other things from Android Studio just fine. I also moved my Android SDK install outside of Users/jacob/Library and into a folder that I put read / write permissions on for everyone.
I solved this just now by fiddling with the permissions. It was going for C:\Program Files (x86)\Android\android-sdk. So I right-clicked on that folder in Windows Explorer, Shared the folder (just to be doubly sure) and in the Security tab, edited permissions.
And then selected Edit, but I couldn’t change some permissions, so I went into Advanced and fiddled around a little bit until I could change every Group possible to have Full Control of Folder, Subfolder, and Files.
Hi @loafer , did you find any solution to your problem finally? Me too I am facing with the same issue and I can’t fix it in any way. Any kind of help would be appreciate. Thanks a lot.
For anyone that finds this and is having problems with a Unity install not having an Android SDK when trying to build (I’m on 2020) here’s a potential fix I wish I would have found sooner:
windows:
run CMD (command prompt) as an administrator: Right-Click “run as administrator”
navigate to the Android SDK Manager installed by Unity:
cd C:\Program Files\Unity\Hub\Editor[UNITYVERSION]\Editor\Data\PlaybackEngines\AndroidPlayer\SDK ools\bin
I don’t know if you need to run the SDK here first or not, I did:
sdkmanager.bat
Run this code, adding the API version you want to install: