The type or namespace name 'AndroidExternalToolsSettings' does not exist in the namespace
I'm trying to get the NDK install path in a Unity post build script, and the documentation says that UnityEditor.Android.AndroidExternalToolsSettings
should provide that. But it cannot be found. The Android Build Support is installed, but it cannot be found.
The interface mentioned in the UnityEditor.Android
namespace is available but the two classes are not – what am I missing?
Answer by NeverTrustShadows · Dec 14, 2021 at 09:09 AM
This happens in 2019.4.32f1, is there any help on this issue? In my case it is related to a certain package (com.google.android.appbundle@1.5.0) and if I delete it from my package cache, the problem seems to disappear until next restart.
Your answer
Follow this Question
Related Questions
Android not rendering Unity Objects (pink) 1 Answer
Unity JDK and NDK installed but not working? Unity 2020.2.2f1 anyone knows how to fix this? TY 0 Answers
Android Build Crashes on Tablet 0 Answers
Adding Cardboard support changes app name to "UnityGVR" or "Keyboard Support" 0 Answers
What to do if my game became buggy due to switching my scripting backend to IL2CPP? 0 Answers