0

Greetings. My current setup is Cocos Creator 2.1 with Python 2.7. My game is written in Typescript.

I followed the adMob tutorial and I have setup AndroidManifest.xml, strings.xml and google_app_id. In my code, I wrote the following:

const config = new gpg.PlatformConfiguration();

But when I debug using the simulator of CocosCreator, the gpg namespace is undefined. Am I missing something? Please any help would be greatly appreciated.

василий квасенко answered

    Best answer

    0

    SDKBox only work on mobile platform, can not work with simulator of CocosCreator.

    yinjimmy selected as best answer
      0

      I did it without seeing any errors, geometry dash

      Heroes Clicker answered

        Question stats

        • Active
        • Views459 times
        • Answers2 answers
        • Followers1 follower

        Categories