Hi,
I’ve made a fresh install of Unity 2019.2.9f1 using the Hub on my Linux Mint 19.1.
In the process, I’ve checked then Android SDK installation as well.
I’ve tried to use Unity Remote to test my project, but it just doesn’t works.
I’ve followed some tutorials describing what to do step by step, with no luck. And it seems I’m not alone on that topic… Nevermind…
So I’ve tried to fallback to a plain simple Build to test my game… and it doesn’t works as well !
As explained here Unity - Manual: Android environment setup
The Android SDK seems to be properly installed in the right path.
In my case : “/home/alesk/Unity/Hub/Editor/2019.2.9f1/Editor/Data/PlaybackEngines/AndroidPlayer”
But when I try to build it, I’ve got these error messages :
UnityException: Android SDK not found
Unable to locate Android SDK.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in /home/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:190
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in /home/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:95
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
It seems that the problem is somehow related to IMGUI, but I couln’t find the file "GUIUtility.cs" anywhere on my computer.
I’ve also tried to Build a fresh new empty project, and I have the same errors.
If someone has some clues on how to fix that… I would be more than happy