Android Question Google Game services example app - G+ login problem

Bas Hamstra

Member
Licensed User
Longtime User
I am trying to run NFOBoy's example app (unmodified) and have followed everything in his tutorial. I get no errors during compile, everything seems to be setup. I got the appid and updated it in ids.xml (read only). Developer console: everything setup. Used the package name that is default in the sample app in B4A.

The app runs but I can't REALLY can't log in with my Google account, which is the first step. Keep getting "login failed miserably", which means the login to Google Game services with my own Google account (also set in developer console, the same account is setup on the emulator) is not succesful. Use the correct emulator with Android 4.3, and Game Services are present.

What am I overlooking? Can anybody PLEASE help me?

Kind regards, Bas
 

Bas Hamstra

Member
Licensed User
Longtime User
Sheesh, what does it take to get a reply here? Anyway, got it fixed. Solution: the package name in the Developer console AND the API console from Google AND the B4a app has to match exactly. All 3 of them.

In case (like me) you need you need to redo it all: its not enough to remove your game from the Google Developer console, you have to remove it from the Google API console as well. Then start from scratch and make sure the package name matches everywhere.

Anyway I get "Login succeeded!!" now, eh eh eh.

Bas
 
Upvote 0
Top