为什么我的团结构建在最后一刻失败了???我可以在编辑器中运行游戏,但不会构建发行版,有人知道为什么吗? 我已经设置了密钥库,并且正在使用默认的Unity SDK和NDK。
Why my unity build is failing at the last moment??? I can run the game fine in editor but it won't build the release version, does anyone know why? I have already setup keystore and I am using default unity sdk and ndk.
您有4个错误,并且可以在下面的链接中看到他们的解决方案:
尝试一个彼此解决,因为也许第一个问题会导致所有其他问题。
for-date:
UnityLibrary:firebaseapp.androidlib: prebuild 错误:主要版本52比51新版本:解决方案2
CommandInvokationFailure:Gradle Build失败:
unityEngine.guiutility:processEvent(int32,intptr):解决方案4
希望它有帮助!
you have 4 errors and you can see their solutions in the links below:
Try to solve it one after another because maybe the first problem leads to all other problems.
unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE : Solution 1
Compiling Error: Major Version 52 is newer than 51 : Solution 2
CommandInvokationFailure: Gradle build failed : Solution 3
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) : Solution 4
Hope it helps!
我注意到,在完整的路径中拥有任何特殊字符,导致Unity Project文件夹的所有特殊字符都会在每次最终崩溃。
项目将在Unity编辑器中没有错误的情况下运行,但是如果路径名中存在EG逗号,则会不断崩溃。
在这种情况下,有一条类似的道路:
Homefolder/Create with code, name/ProjectFolder
不断崩溃。
更改路径:
Homefolder/Create_with_code_name/ProjectFolder
解决了问题。
值得注意的是, ProjectFolder 本身没有任何特殊字符,而是导致该文件夹的文件夹。
I noticed that having any special characters in the full path that leads to Unity project folder will crash Unity WebGL build at the end every time.
Project will run without errors in the Unity Editor, but crash constantly if there is e.g. comma in the path name.
In this case there was a path like:
which kept crashing constantly.
Changing the path to this:
solved the issue.
What is notable that the ProjectFolder itself didn't have any special characters in it but the folder that lead to this folder.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(2)
您有4个错误,并且可以在下面的链接中看到他们的解决方案:
尝试一个彼此解决,因为也许第一个问题会导致所有其他问题。
for-date:
UnityLibrary:firebaseapp.androidlib: prebuild 错误:主要版本52比51新版本:解决方案2
CommandInvokationFailure:Gradle Build失败:
unityEngine.guiutility:processEvent(int32,intptr):解决方案4
希望它有帮助!
you have 4 errors and you can see their solutions in the links below:
Try to solve it one after another because maybe the first problem leads to all other problems.
unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE : Solution 1
Compiling Error: Major Version 52 is newer than 51 : Solution 2
CommandInvokationFailure: Gradle build failed : Solution 3
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) : Solution 4
Hope it helps!
我注意到,在完整的路径中拥有任何特殊字符,导致Unity Project文件夹的所有特殊字符都会在每次最终崩溃。
项目将在Unity编辑器中没有错误的情况下运行,但是如果路径名中存在EG逗号,则会不断崩溃。
在这种情况下,有一条类似的道路:
不断崩溃。
更改路径:
解决了问题。
值得注意的是, ProjectFolder 本身没有任何特殊字符,而是导致该文件夹的文件夹。
I noticed that having any special characters in the full path that leads to Unity project folder will crash Unity WebGL build at the end every time.
Project will run without errors in the Unity Editor, but crash constantly if there is e.g. comma in the path name.
In this case there was a path like:
which kept crashing constantly.
Changing the path to this:
solved the issue.
What is notable that the ProjectFolder itself didn't have any special characters in it but the folder that lead to this folder.