Integration GooglePlayGameService with CocosCreator

Hi,

i’m newer for SDKBOX,
I’m trying Integration Google PlayGameService with CocosCreator,

i using build template is default, and added these service…

and i success build native project

after these steps,

now i trying add the code to HelloWorld.js scene …

but error occcur in my code

sorry for my stupid,
how to i correct using this service in CocosCreator ?

Thanks :smiley:

We’ll try to reproduce that and let you know.

In the meantime, if you just want to use achievement and leaderboard features, you can use sdkbox play

Sorry,
it’s my fault, i’m using CocosCreator Simulator in Mac,
when i build the Apk to Android, the gpg variable correct detected,

thanks for help :smiley:

Hi,
I already install GPG to Test Project and this is result

I’m using cc 1.5 and sdkbox 1.0.4

Anyone can help me :frowning:

did you use default-template in build panel ?

I’m found reason. Each build project, i’m update again plugin. Thank’s for your reply