

We're trying to stay in sync as much as possible. Unity Hub installs the latest version of the Android SDK Target API required by Google Play. Go into this folder from the Android SDK path and copy the android-29 folder to the platforms folder in the Unity path.Ĭredit goes to this dude and the stack overflow post he credits that I can no longer find: In each there will be a folder called 'platforms'.

Note the path location in the field labeled Android SDK Tools Installed with Unity (recommended)

Scroll down and find a list of text fields with paths under the Android label.

In Unity, click Edit => Preferences => External Tools. After the splash screen has loaded, select the Configure button (bottom right, next to gear icon) and from the dropdown select SDK Manager and in the list make sure Android 10 (API 29) is checked, if it isn't check it and apply to download the SDK.Ģ) Get the path to the Android SDK directoryįrom the same window, note the path in the text field labeled Android SDK Locationģ) Get the path to Unity's Android SDK directory What I and a few others have done is copy the android 29 sdk directly into the folder that unity looks in for sdks.ġ) Make sure you have the android 29 SDK: Until then please use the workaround above. We will update this thread when these fixes are landing. We are working on both updating Unity Hub installation process to include the latest Android SDK and fix the in Editor SDK update process. After that you change the Android SDK path in the Unity Editor (Edit->Preferences->External Tools) and then let Unity update the SDK. The simplest way to workaround this issue is to copy or move the Android SDK installed by the Hub to a different path that does not have spaces. If you try to update the SDK with Android Studio SDK Manager UI tool with the SDK in such location, you will see a warning like this:įirst we recommend you read the documentation about “Customizing the Android SDK & NDK Tools and OpenJDK installation” on this page, so you understand how & where Unity install the Android dependencies. "C:\Program Files\Unity\Hub\Editor\2020.1.2f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK"). To update the Android SDK, Unity uses the Android sdkmanager command line tools, but the command will fail if it's located in the filesystem in a path that has spaces (the default path used by the Hub on Windows e.g. We are going to update the Hub install but we don’t not have yet determined when. The Android SDK that is currently installed with Unity Hub does not include support for API level 29. When you select API Level 29 in Android Player Setting, Unity tries but fails to update the Android SDK:
