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 However, I did not follow their solutions and ended up copying the android 29 SDK manually from the android studio sdk directory into the Unity sdk directory:ġ) Make sure you have the android 29 SDK: ![]() ![]() This is a known issue as of now: Official Unity forum I am using unity 2020.1f1, and have tried everything. It looks like my currently installed version targets API level 28, which google play does not allow me to publish with. Warning: Failed to read or create install properties file. License android-sdk-license: ] 10% Computing updates. Warning: File C:\Users\zande\.android\repositories.cfg could not be loaded. This is the console output when I manually run the sdk manager: "C:\Program Files\Unity\Hub\Editor\2020.1.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\bin\sdkmanager.bat" "platforms android-29" ![]() 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. When I try to build my game for android API target level 29, I get this error: This allowed me to specify the download location as the unity apk path EDIT: I don't have enough karma or whatever to comment, but I fixed this by downloading the most recent apk using the android apk app.
0 Comments
Leave a Reply. |