I have been stuck at this for quite some time now, I solved it previously by deleting the plugins folder, but that broke the ads in the game, I want a good solution for this, I couldn't find any in the forums or elsewhere.
it's an android application and using SDK 9 API level 28, downloaded from android studio. NDK r16b . build system Gradle. and building as Build app bundle (aab) same thing however as apk.
error message:
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00234] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:191 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
error pop up