Problem - Failed Unity Android Build with GA (Porting the WEBGL project to Android *YandexGame->GooglePlay)
Error list:
Assets/GameAnalytics/Plugins/Scripts/ILRD/GameAnalyticsILRD.cs(12,33): error CS1069: The type name 'AndroidJavaClass' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.AndroidJNIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Android JNI' in the Package Manager window to fix this error.
Assets/GameAnalytics/Plugins/Scripts/Wrapper/GA_AndroidWrapper.cs(14,33): error CS1069: The type name 'AndroidJavaClass' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.AndroidJNIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Android JNI' in the Package Manager window to fix this error.
Assets/GameAnalytics/Plugins/Scripts/Wrapper/GA_AndroidWrapper.cs(15,33): error CS1069: The type name 'AndroidJavaClass' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.AndroidJNIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Android JNI' in the Package Manager window to fix this error.
Error building Player because scripts had compiler errors
Build completed with a result of 'Failed' in 8 seconds (8164 ms)
6 errors
UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
ZeroUltra.ExcludeFormBuild.BuildHandler:Build (UnityEditor.BuildPlayerOptions) (at ./Library/PackageCache/com.zeroultra.excludefrombuild@51f9f1cd5c/Editor/BuildHandler.cs:23)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:203)
UnityEditor.BuildPlayerWindow+BuildMethodException
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002df] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:192
at ZeroUltra.ExcludeFormBuild.BuildHandler.Build (UnityEditor.BuildPlayerOptions buildOptions) [0x00000] in ./Library/PackageCache/com.zeroultra.excludefrombuild@51f9f1cd5c/Editor/BuildHandler.cs:23
UnityEngine.Debug:LogError (object)
ZeroUltra.ExcludeFormBuild.BuildHandler:Build (UnityEditor.BuildPlayerOptions) (at ./Library/PackageCache/com.zeroultra.excludefrombuild@51f9f1cd5c/Editor/BuildHandler.cs:27)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:203)
Build Failed
UnityEngine.Debug:LogError (object)
ZeroUltra.ExcludeFormBuild.ExcludeFormBuilder:BuildHandler_OnBuildFaild () (at ./Library/PackageCache/com.zeroultra.excludefrombuild@51f9f1cd5c/Editor/ExcludeFormBuilder.cs:117)
ZeroUltra.ExcludeFormBuild.BuildHandler:Build (UnityEditor.BuildPlayerOptions) (at ./Library/PackageCache/com.zeroultra.excludefrombuild@51f9f1cd5c/Editor/BuildHandler.cs:28)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:203)


