Erro ao compilar
4 participantes
Página 1 de 1
Erro ao compilar
Quando eu tento compilar o meu jogo da esse erro
https://prnt.sc/o40cva
a versão da unity q estou usando é Unity 2019.3.0a5
o meu jogo é pra android
https://prnt.sc/o40cva
a versão da unity q estou usando é Unity 2019.3.0a5
o meu jogo é pra android
Socates- Membro
- PONTOS : 2404
REPUTAÇÃO : 5
Idade : 25
Respeito as regras :
Re: Erro ao compilar
De uma olhada em https://docs.unity3d.com/Manual/android-BuildProcess.html
Diguinho- MembroAvançado
- PONTOS : 2590
REPUTAÇÃO : 15
Idade : 23
Áreas de atuação : Programação
Respeito as regras :
Re: Erro ao compilar
tenho simMayLeone escreveu:Tem o SDK instalado?
Socates- Membro
- PONTOS : 2404
REPUTAÇÃO : 5
Idade : 25
Respeito as regras :
Re: Erro ao compilar
essasMarcosSchultz escreveu:qual mensagem de erro que aparece no console?
Parallel execution is an incubating feature.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
CommandInvokationFailure: Gradle build failed.
C:/Program Files/Unity/Hub/Editor/2019.3.0a5/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\OpenJDK\Windows\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2019.3.0a5\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.6.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx6690m" "assembleRelease"
stderr[
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\junio\�rea de Trabalho\Unity\Beatriz V2\Temp\gradleOut\launcher\build.gradle' line: 3
* What went wrong:
A problem occurred evaluating project ':launcher'.
> Failed to apply plugin [id 'com.android.application']
> Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 22s
]
stdout[
Parallel execution is an incubating feature.
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <0c4aa699da3448f5bb6addcf4b218165>:0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <0c4aa699da3448f5bb6addcf4b218165>:0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <0c4aa699da3448f5bb6addcf4b218165>:0)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at <0c4aa699da3448f5bb6addcf4b218165>:0)
UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <0c4aa699da3448f5bb6addcf4b218165>:0)
Rethrow as GradleInvokationException: Gradle build failed
UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <0c4aa699da3448f5bb6addcf4b218165>:0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <0c4aa699da3448f5bb6addcf4b218165>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <0c4aa699da3448f5bb6addcf4b218165>:0)
Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <0c4aa699da3448f5bb6addcf4b218165>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <0c4aa699da3448f5bb6addcf4b218165>: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 <0c4aa699da3448f5bb6addcf4b218165>:0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <0c4aa699da3448f5bb6addcf4b218165>: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 C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:281)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 20 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00257] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:191
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:95
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Socates- Membro
- PONTOS : 2404
REPUTAÇÃO : 5
Idade : 25
Respeito as regras :
Re: Erro ao compilar
Ao que da a entender, a Unity não conseguiu achar o JDK no seu computador, ou não conseguiu abrir ele.
Tópicos semelhantes
» Erro ao compilar
» ERRO AO COMPILAR O JOGO
» Erro na hora de compilar
» Erro ao compilar em webGL
» Erro ao compilar para IOS
» ERRO AO COMPILAR O JOGO
» Erro na hora de compilar
» Erro ao compilar em webGL
» Erro ao compilar para IOS
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos