Search Issue Tracker
Fixed
Fixed in 2021.3.30f1, 2022.3.7f1, 2023.1.8f1, 2023.2.0b4, 2023.3.0a1, 7000.0.0a1
Votes
9
Found in
2021.3.28f1
2022.3.2f1
2023.1.0f1
2023.2.0a19
2023.3.0a1
7000.0.0a1
Issue ID
UUM-40891
Regression
Yes
[Android] Unity prompts for an update to API Level 36 when API Level 34 is used to build for Android
Reproduction steps:
1. Open the attached project “SDKProject”
2. Select API Level 34 in “Project Settings/Player/Other settings/Target API Level”
3. Build for Android
4. In the shown pop-up window select “Update Android SDK”
5. Observe the build process
Expected result: The building process proceeds without asking for an Update to API Level 36
Actual result: Build failure
Reproducible with: 2022.2.0a14, 2022.3.2f1, 2023.1.0f1, 2023.2.0a19
Not Reproducible with: 2021.3.27f1, 2022.2.0a13
Reproducible on: Intel macOS 13.3.1
Note: API Level 36 does not exist the highest released so far is 34.
Comments (13)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Nested Canvases with the same Order in Layer ignore Z position for render order when sharing parent Canvas
- ShaderGraph Material subasset loses texture reference when reimporting all assets while using a scripted importer
- Values changed on a prefab are not retained when entering Play Mode
- Shadow Caster 2D shadows partially disappear in specific spots when used with Composite Collider 2D in the Game view
- Hierarchy and Library parts in UI Builder are inaccessible when UI Builder window is resized and these elements no longer fit in the window
keninger
Dec 28, 2024 09:20
I am trying to change the AndroidTargetSdkVersion in the ProjectSettings.asset but how do you edit the .asset file, projectsettings.asset specifically?
Vanhoang1311
Jul 21, 2024 05:24
Change the AndroidTargetSdkVersion and AndroidMinSdkVersion properties in ProjectSettings.asset from 36 to 34, then when entering Project settings in unity, targetAPI is returned 33, is that a display error or just its target 33
SANTIAGODML
Jul 11, 2024 18:41
Thanks FENRIQUEZ, it works!
But if it's not working for anyone, I had to run the following in the CMD console (windows) first:
E:\Unity\2022.3.2f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\cmdline-tools\6.0\bin\sdkmanager.bat "platforms;android-34"
Then Edit ProjectSettings.asset, change AndroidTargetSdkVersion value from 36 to 34 save file, and build.
Skykpot
Jul 05, 2024 17:56
reproduce in 2022.3.6f1
Msteva
Jun 28, 2024 15:33
I have the same problem on unity 2022.3.11f1
ninuxw
Mar 15, 2024 22:23
nvm, this was not a LTS version. I don't see a way of removing my previous comment so just ignore it.
ninuxw
Mar 15, 2024 22:17
This still happens in unity 2022.3.4f1 (LTS)
richardgomes7d
Jan 05, 2024 20:26
Changing the AndroidTargetSdkVersion and the AndroidMinSdkVersion properties in the ProjectSettings.asset from 36 to 34 worked for me.
gamer2300
Dec 12, 2023 23:46
Same problem on 2022.3.5f1 solution given by fenriquez is not valid. On sdk manager all is instaaled (AndroidTargetSdkVersion 34...) no one solved this?
vlad1p
Nov 01, 2023 08:02
Why are you ignoring the problem?
When you click Update Android SDK, the change in AndroidTargetSdkVersion: ** is not applied, and the value is returned to 36
I work through the admin profile
Unity 22.3.5f1