尝试为Android制作游戏时出错

时间:2020-06-03 22:28:51

标签: android unity3d gradle build 2d

您好,当我尝试为Android构建游戏时遇到错误

例外:Gradle安装无效 UnityEditor.Android.GradleWrapper.GetBaseCommand(System.Int32 jvmHeapSize)(在<3167064085404657b0d6c498207da025>:0) UnityEditor.Android.PostProcessAndroidPlayer.ExecuteWarmup(System.String stagingArea)(在<3167064085404657b0d6c498207da025>:0) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess(UnityEditor.BuildTarget目标,System.String stagingAreaData,System.String stagingArea,System.String playerPackage,System.String installPath,System.String companyName,System.String productName,UnityEditor.BuildOptions选项,UnityEditor。 RuntimeClassRegistry usedClassRegistry,UnityEditor.Build.Reporting.BuildReport报告)(位于<3167064085404657b0d6c498207da025>:0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess(UnityEditor.Modules.BuildPostProcessArgs args,UnityEditor.BuildProperties&outProperties)(位于<3167064085404657b0d6c498207da025>:0) UnityEditor.PostprocessBuildPlayer.Postprocess(UnityEditor.BuildTargetGroup targetGroup,UnityEditor.BuildTarget目标,System.String installPath,System.String companyName,System.String productName,System.Int32宽度,System.Int32高度,UnityEditor.BuildOptions选项,UnityEditor.RuntimeClassRegistry usedClassRegistry ,UnityEditor.Build.Reporting.BuildReport报告)(位于:0) UnityEngine.GUIUtility:ProcessEvent(Int32,IntPtr)

UnityEditor.BuildPlayerWindow + BuildMethodException:2个错误 在UnityEditor.BuildPlayerWindow + DefaultBuildMethods.BuildPlayer中(UnityEditor.BuildPlayerOptions选项)在[0x002bb]中:: 0 在UnityEditor.BuildPlayerWindow.CallBuildMethods(System.Boolean askForBuildLocation,UnityEditor.BuildOptions defaultBuildOptions)中:[0x00080]在:0中 UnityEngine.GUIUtility:ProcessEvent(Int32,IntPtr)

有人知道如何解决吗?

0 个答案:

没有答案