Error updating the Android SDK 29
In Google Play, when downloading the apk file, it writes:
Change the Api target level 28 to 29
I go to Unity -> in player settings
-> I change the checkboxes to API 29
.
When building a project, it displays a message on the screen:
Update the Android SDK 29?
I click update, then I get an error:
Try installing it manually by specifying the path to
sdkmanager.bat
I write the path in the command line:
C:\Program Files\Unity\Hub\Editor\2020.1.2f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\bin>sdkmanager.bat "platforms;android-29"
Then I agree with the license.
And then there is such an error:
Accept? (y/N): y
Warning: Failed to read or create install properties file.
[=== ] 10% Installing Android SDK Platform 29
C:\Program Files\Unity\Hub\Editor\2020.1.2f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\bin>
Who faced such a problem-please help
0
1 answers
Problem solved! ran the same path in the command line but from the administrator. And everything has been updated!
1
Author: Ilnur, 2020-08-14 19:09:59