MAC版的Unity配置好SDK和JDK导出APK一直报错
Unity导出APK报错
Library/PackageCache/[email protected]/DataPrivacy/DataPrivacy.cs(42,26): error CS0103: The name ‘AnalyticsSessionInfo’ does not exist in the current context
Library/PackageCache/[email protected]/DataPrivacy/DataPrivacy.cs(43,29): error CS0103: The name ‘AnalyticsSessionInfo’ does not exist in the current context
Library/PackageCache/[email protected]/DataPrivacy/DataPrivacyButton.cs(47,32): error CS0117: ‘RemoteSettings’ does not contain a definition for ‘ForceUpdate’
Library/PackageCache/[email protected]/DataPrivacy/DataPrivacy.cs(97,29): error CS1061: ‘UnityWebRequest’ does not contain a definition for ‘SendWebRequest’ and no accessible extension method ‘SendWebRequest’ accepting a first argument of type ‘UnityWebRequest’ could be found (are you missing a using directive or an assembly reference?)
Library/PackageCache/[email protected]/Scripts/Runtime/TMP_UpdateManager.cs(6,32): error CS0234: The type or namespace name ‘Rendering’ does not exist in the namespace ‘UnityEngine.Experimental’ (are you missing an assembly reference?)
Error building Player because scripts had compiler errors
Build completed with a result of ‘Failed’
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 6 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00234] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:190
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:96
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

这是我新建的项目,导出报错也是这样
哪位大哥知道解决方案,麻烦指点一下小弟,要被这个问题搞到奔溃了

相关文章: