Android APK Not Building Unity Version 2020.3.29f1 Win32Exception

Hi Unity Community,

We have recently installed Unity version 2020.3.29f1 and installed the Android Build Support (which includes the Android SDK & NDK Tools and OpenJDK) to our iMac (2020) computer using Unity Hub version 3.0.1. Our game project plays fine in the editor window; however, when we tried to build our game APK we received the following main error (summarized below):

Win32Exception: ApplicationName=‘/Applications/Unity/Hub/Editor/2020.3.29f1/PlaybackEngines/AndroidPlayer/SDK/tools/bin/sdkmanager’, CommandLine=‘–list’, CurrentDirectory=‘…’, Native error= mono-io-layer-error(5) System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at <…>:0)

We have attached a screenshot (“Android Build Error” png) of the 4 errors to this post.

We have been able to successfully build this same game project’s Android APK on previous releases of Unity 3D, but unfortunately, it is not building on this Unity 3D release. We would greatly appreciate any advice about how to resolve this Android Build error. Thank you very much.

In unity hub, make sure android support, ndk and sdk are all selected (instead of doing it manually).
In preference → 3rd party tools make sure all are as ‘use included with Unity’