kloder-games / godot-gpgs

Godot Module for Google Play Game Services
MIT License
56 stars 16 forks source link

Module does not sign in after gpgs.init #2

Open benkaranja opened 7 years ago

benkaranja commented 7 years ago

Hey @jlopezcur , Thanks for the great plugin, its easy to setup and compile. But after i have followed your instructions and everything seems to work fine, but after trying to sign in i get no pop up view for the google sign in. The app is also running fine & does not crash. You can see my logcat below godot gpgs logcat I have tried to fix this to no luck. Maybe you can point me in the right direction. I have attached my sample scene and debug.apk

jlopezcur commented 7 years ago

By the logcat you posted, I see that the problem is in the Android installation: Could not find class 'android.os.UserManager', referenced from method com.google.android.gms.common.zze.zzbs

¿Did you follow the instructions on the godot page? http://docs.godotengine.org/en/stable/development/compiling/compiling_for_android.html#requirements Under the Requirements:

I think Android build tools version 19.1 have the missing library.

Run again your Android SDK Manager and be sure to install it.

Look when you can and told me. I will try to be more quick with the answer.

benkaranja commented 7 years ago

Thanks for the advice @jlopezcur I got it to work by adding the RealtimeMultiplayer Class from your plugin and then compiling with this module https://github.com/FrogSquare/GodotGoogleService and then . I will try your advice and give feedback. On a different topic, do you have an idea of how to fetch the google sign users avatar or profile picture. My attempts have not been successful. But i should probably post my attempts on a new issue.