Giter VIP home page Giter VIP logo

Comments (2)

cgisca avatar cgisca commented on May 23, 2024

Hi,
have you followed the setup steps from README.md file?

Have you added org/godotengine/godot/PlayGameServices as described below:
In Godot Engine, go to Project -> Project Settings. Then on the tab General go to the Android section, and fill the Modules part with org/godotengine/godot/PlayGameServices

Also check that in the Project > Export dialog, Custom Build is enabled

from pgsgp.

tx350z avatar tx350z commented on May 23, 2024

I did follow the instructions.
I managed to solve the problem in the following way:

  1. copy android-pgs-plugin into the android folder
  2. put the GPGS app ID in android-pgs-plugin/res/ids.xml
  3. Delete folder android/build
  4. Reinstall Android Build Template
  5. Add these two lines to android/build/gradle.properties
    android.useAndroidX=true
    android.enableJetifier=true
  6. Do an Android export - all is good and the singleton class appears in the APK classes.dex

It seems the Android Build Template has to be reinstalled after the plugin folder in the android folder. But can't be to export until the gradle.properties are changed. There needs to be an option to rebuild the template without deleting the android/build directory. But that's not a problem with your plugin.

Closing this issue.

Thanks again!

from pgsgp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.