Skip to content
Advertisement

Libgdx Keep getting an error when I try to load a Tiled Map

I am relatively new to libgdx and I cannot figure how to fix this error I keep getting. I have tried multiple sources but none seem to work and I feel like there might be an error in my code. The error is…

Execution failed for task ‘:desktop:DesktopLauncher.main()’.

Process ‘command ‘/Users/rehan_samaratunga/Library/Java/JavaVirtualMachines/corretto-17.0.2/Contents/Home/bin/java” finished with non-zero exit value 1

My code is…

JavaScript

Can anybody help?

Advertisement

Answer

Its all good I found how to fix it. I reinstalled Libgdx but a earlier version of it and the problem fixed. I know its not the best way to fix it but right now just for learning its all good.

Advertisement