Unity2018发布安卓报错 Exception: Gradle install not valid
Exception: Gradle install not valid
UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, System.Action`1[T] progress) (at <c67d1645d7ce4b76823a39080b82c1d1>:0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <c67d1645d7ce4b76823a39080b82c1d1>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <c67d1645d7ce4b76823a39080b82c1d1>:0)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <c67d1645d7ce4b76823a39080b82c1d1>:0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <c67d1645d7ce4b76823a39080b82c1d1>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at D:/unity/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:285)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
在JDK SD NDK 都对的情况下 就是Gradle Installed with unity出问题