Unity old version

happy new year!

I would like to ask a question. I tried to update my old project to unity 2022 but I wasn’t successful because I received several errors that I couldn’t resolve… Is there any possibility to compile for android sdk’s 31, 32 or 33 by unity 2018.3.14f1?

Unfortunately I believe not. There was also a bug in audio on new pixel phones so you have to use no earlier than Unity2020.3.40 I believe.

I am using Unity2020.3.41 and it works fine with SDK31, tools 30.

Também fiz um teste com o Unity 2020, mas quando tento fazer o upload para a Play Store, recebo uma notificação relacionada ao Android:Exportado. Eu não sei como isso funciona. Você me ajudaria ?

Google that error up, I am not an Android expert at all.

Could be something in your project isn’t compatible anymore.

Here’s how to track it down: just treat it as a basic build failure that you don’t know until it uploads fully.

Everywhere you see “build” here substitute “app submission”

How to troubleshoot build failures:

First, make a blank project with a single blank scene and prove that it builds successfully. (and obviously with your project’s bundle ID and signing key!!!)

If the blank project does NOT build, go fix your Unity installation or your other tools, such as Android SDK, NDK, JDK, etc. It may even be necessary to change to a different version of Unity3D. It is generally best to stay with LTS versions of Unity3D.

Until you can build a blank project to the target platform, don’t fiddle with anything else.

Once you can build a blank project, now bisect the problem by bringing over parts of your current project and building it one subsystem at a time, perhaps stubbing things out that might trigger compiler errors.

Most often things that prevent building are third-party libraries such as Firebase.

Once you identify the subsystem, go to the documentation for it and make sure you are doing it correctly.

It may also be helpful to work through a tutorial or two for whatever subsystem is making the build fail.

Android build not building:

Recently (circa July 2022) there have been reports of Unity’s installer failing to install the Android Tools.

Here was how I brought up Unity2020.3.41 and the Android SDK 31 on October 30, 2022:

Android Gradle errors and other related stuff: