UnityEditor.BuildPlayerWindow+BuildMethodException 喜欢ヅ旅行 2021-11-05 03:56 722阅读 0赞 unity3D安卓打包报错: UnityEditor.BuildPlayerWindow+BuildMethodException: 61 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in D:\unity\Editor\Mono\BuildPlayerWindowBuildMethods.cs:194 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in D:\unity\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) 百度到的老外的解释是这样的: > As you have noticed after you click build settings you are prompt to download it in the asset, which unity wouldn't allow to build exe files inside asset. in that case, try building it in a different folder or in desktop. It works fine for me! :D 也就是不要将打包的输出路径设置为Assets文件夹下面 但是检查了一下,我这边并没有这样设置。不过后来尝试了很多其他方案都没有解决,就干脆将build结果输出到了桌面。然后打包就不在报错了。。。。。 非常神奇,记录一下~ \--补充:上头打包成功一次之后,重新将build的位置指向之前始终打包失败的位置,居然成功了?!! \--20200624补充:打包到桌面无效的朋友,可以试一下下头评论里面的一个方案:打包设置改gradle 为 internal,成功的话,到评论区感谢下他哈
还没有评论,来说两句吧...