Today the Google Play Console warned me about this when I was uploading my recent build.
From November 2020, app updates must target Android 10 (API level 29).```
So in Unity Player Settings>Other Settings>Identification, I changed "Target API Level" to 29.
When I build to Android, I get this warning:
![6124613--667547--export.jpg|800x396](upload://7SQfxazLDASFUqU17BvvvzD7ZZS.jpeg)
Updating fails, and it tells me "Please run the SDK Manager manually to make sure you have the latest set of tools and the required platforms installed."
So in Android Studio, it updated to version 4.0.
Then I open up SDK Manager and see this:
![6124613--667550--studio.jpg|999x726](upload://yNxNxiJadafdsijcV4NbFJT1bu6.jpeg)
Doesn't it look like I have API Level 29?
I've restarted the computer and tried a few times but I always get this result.
Thank you.
1 Like
Just click on Use Highest Installed
it worked for me
You mean when you uploaded it to the Google Play Console it no longer gave you this warning?
From August 2020, new apps must target at least Android 10 (API level 29).
From November 2020, app updates must target Android 10 (API level 29).
I can build from Unity using API 28, but I’m trying to prepare for this change it seems Google is warning us about now.
Because I get the above warning after uploading.
I have the same issue as well. When I click use highest button it chooses API 28 which doesn’t solve the issue. According to the warning we won’t be able to upload any AAB files to Google Play Store.
I downloaded nearly all API’s from SDK Manager but no way. If anyone knows any solution I appreciate it as well.
1 Like
Hector,
What version of Unity are you using? I’m using 2019.3.0f1.
I’m considering upgrading to see if that helps, but don’t want to if it’s not likely the issue.
It looks like the solution is to update Unity. I went from 2019.3 to 2020.1.
There is another way. Those are the steps I followed (windows)
- Update to the last last LTS 2019 (Im not sure if its totally necessary but I did)
- Install android Studio
- Open android studio as admin
- Go to Configure → Sdk manager
- Change the path of the sdk to (in my case) C:\Program Files\Unity\Hub\Editor\2019.4.5f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK
- And then install Android API 29
After this Unity is able to build targeting API 29
This installed API 30 on mine…is it ok to work with API 30 or should I use 29??
This seems to build API 29 ok. I tried it with 30 and Unity won’t build it though, says Required API level 30. Is there something else that needs to be done you think?
Peter ,
First of all sorry for my late reply. I was using 2019.3.12. When I encountered that problem upgrading was the first thing I did since most problems get solved in that way So I started using 2020.1.0f1. However I still had the same issue. I don’t know if it would help but I reinstalled everything about Unity, Android Studio and Android SDK. No progres…
Later on I came up with the solution in the link below:
https://discussions.unity.com/t/801623
It solved the problem like magic. From command window I was able to update Android SDK to level 29 and build without any problem. Why it didn’t work in other way still I have no idea though. As far as I see in your case it helped to upgrade Unity. So maybe this is a complicated issue which is based on different stuff for different people.