Iam trying to upload a simple Unity3D test app on my Google Play Games Console. The only purpose of this is to get familiarized with the workings of this as I have just opened up my account and Iam a first timer on the subject.
I have started out with a great tutorial on implementing Google Play Services Library I found on YT. The test app was working okay except for the end part where I had problems with the built. Nevertheless I decided to redo the test app from the begining for better understanding and memorization of the procces and maybe figuring out why the build was not working as it should have been.
Before redoing everyting I upgraded Unity to 5.4.1f1. (from 5.3.3f1)
Now after I import the Google Play Services Library to the project and try to setup the Google Play Games > Setup > Android Setup, Unity is suddenly unable to find jar system path.
When I press play button I get the below error: Error
I went through the readme file, made sure everything was done as listed (source), read through dozens of questions/answers here and on Unity Community, and I still cannot find a soultion for my problem. I made sure that the paths were correct, checked other projects and they are still working fine. So the problem starts with importation of the GPSL.
Any help would be greatly appreciated !
Solved the problem. I was not paying enough attention to the redame file on Git.
I had a set JDK variable in Users variables but instead in needed to add also JAVA_HOME variable.
Solved
To set the variable you need to go to Computer/Properties/Advanced system settings/Enviroment variables and set it there.
Do not forget to also add a PATH in the Systems variables.
Hope this helps. Cheers!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With