
:max_bytes(150000):strip_icc()/AndroidStudioSDKmanager-98447b85dab14730b739a9d9eee82088.jpg)
Toggling the SDK and NDK options was no longer throwing the error, so I opened up Build Settings to try building an apk now, but then this error started being spammed in the console: I read here that the error might be caused by a missing ' tools' folder in the Android SDK, so I downloaded the latest Android SDK for Linux ( sdk-tools-linux_4333796 under 'Command line tools only'), extracted the contents and copied the downloaded ' tools' folder into my SDK folder ( /home/Unity/Hub/Editor/2019.2.10.f1/Editor/Data/PlaybackEngines/SDK).

I tried to manually set the SDK and NDK directories in Unity under Preferences>External Tools, but toggling the ' Android SDK Tools installed with Unity (recommended)' checkbox threw the error you mentioned in the console. The build process stopped with a pop-up saying 'Android SDK not found' along with these errors in the console: I faced a similar problem when I created a new project and tried to build it to an apk. I'm using Unity 2019.2.10.f1 on Ubuntu 18.04, and I installed it using Unity Hub 2.1.3 along with Android Build Support and the optional Android SDK & NDK Tools. (System.Object userData, System.String options, System.Int32 selected) (at C:/buildslave/unity/build/Editor/Mono/PreferencesWindow/PreferencesSettingsProviders.cs:974)ĭoes anyone know what caused this and how I can fix it? I installed the Android SDK along with Unity via Hub. () (at C:/buildslave/unity/build/Editor/Mono/PreferencesWindow/PreferencesSettingsProviders.cs:818) NullReferenceException: Object reference not set to an instance of an object Almost instandly came this error in the console, even before I created any GameObjects. Hello, I have newly installed the Unity version 2119.2.5f1 and started a new project.
