If it’s not that, then here’s how to troubleshoot:
First, make a blank project with a single blank scene and prove that it builds successfully.
If it does NOT build, then go fix your Unity installation, or your other tools, such as Android SDK, NDK, JDK, etc.
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 that subsystem.
Cool! What happens if you make a new keystore and try it? If that doesn’t work either then that version of Unity is cursed, try another.
(Note: This is all ANY support response is going to tell you and should be on the hot list of things you try when something doesn’t work. They’re not going to tell you some magic set of secret keystrokes to make it work. This is just basic troubleshooting 101 and you have to step up the game.)
Hi,
I have the same issue. For me it started after replacing macBooks. It works on the older one but not on the newer one. All commands seam to be without the space as you mentioned and thats why it’s not working. Have you found a solution to this?
Hi,
Like you the problem occurred after a change of macbook and I still haven’t solved the problem.
No answer from Unity support to a Pro member.
Thank you.
I downgraded the system to the original one and it works there. After I updated again to 12.6 it stopped.
I’m unable to create a new one in the project that I’m working on. When I create a brand new project then I’m able to create a new one but when I reopen Unity and try to use it it doesn’t work anymore.
To make it more confusing my team buddy has the same OS version and no issues
Idk, I tried to use older (working) Android SDKs in these new Unity versions by choosing different paths in “Edit - Preferences - External Tools”, but it didn’t help. So, I guess it’s not about the SDK, but about Unity itself.
Hello everyone. I hope this information will help someone. I encountered a similar issue when migrating from Unity 2019 to 2022.3.4f1 (keytool-list). First, to make sure it was related to Unity, I created a blank project and tried to open my keystore – everything worked, the password was correct. That’s when I realized the problem wasn’t with Unity itself, but rather with my assets (previously I tried deleting Libraries, Project Settings, User Settings, etc.). Through trial and error, I managed to determine that the outdated Firebase plugin was the culprit. After updating it, everything started working, and I was able to build successfully. Try updating your plugins, perhaps in your case, the issue might also lie with them.