

Then they type in some other commands, I'm assuming into the Windows command prompt that messes with this bat file:Ĭ:\Users\harpe>C:\Program Files\Unity\Hub\Editor\2020.1.1f1\Editor\Data \PlaybackEngines\AndroidPlayer\SDK\tools\bin\sdkmanager.bat I follow up the forums and I find that the common fix is to create a repositories.cfg in the location that it is missing, and then use a 'touch' command on it, which I can not figure out how to get work.

"File C:\Users\harpe.android\repositories.cfg could not be loaded." A common denominator among other people with the same problem also have another error that I have been neglecting, except it's just a warning, which is why I neglected to fix it:

Naturally, I go to the internet for answers. I went to preferences then external tools, and tried the SDK path from Androids SDK manager as well as the one provided by Unity. Everything is in order, I have the latest updates and the SDK with API level 29. The first thing I did was check the SDKs I had installed in Android Studio. In the console there is a long license agreement from Android that asks you to accept it, but provides no detail on how to do so. Please run the SDK Manager manually to make sure you have the latest set of tools and the required platforms installed.

"Unable to install additional SDK platform. It gives me two buttons to move forward, either "Update Android SDK" or "Use Highest Installed," obviously I don't want to use highest installed because it angers the Android Play Console, so I hit the first one and I get the pop up error in the title of the post: "Android SDK is missing required platform API" Now I try to build again, and I get this pop up error: Change your app's target API level to at least 29."Īfter seeing this, I opened up Unity, visited player settings, and set my max API level to 29. "Your app currently targets API level 28 and must target at least API level 29 to ensure it is built on the latest APIs optimized for security and performance. This morning I decided I was going to go ahead and upload to the play store, so I built my APK and uploaded the file to the Play Console and I get this:
