cgisca / PGSGP

Play Games Services plugin for Godot Game Engine - Android
MIT License
217 stars 61 forks source link

Unable to get the module to work for Godot-3.2.2. #53

Open ai-boson opened 3 years ago

ai-boson commented 3 years ago

I am using Godot-3.2.2. And I am using the latest release of the module 2.2.0.

As per the instructions given in the module I added the following lines in AndroidManifest.xml file.

<meta-data 
     android:name="com.google.android.gms.games.APP_ID"
     android:value="@string/app_id" />

Then created Strings.xml file and added the following code inside it.

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_id">745298242451</string>
</resources>

I created values folder inside my project folder and placed Strings.xml inside the values folder: res->values->Strings.xml. But when I export I get the following error: https://photos.app.goo.gl/ffmhCopsc7zHZHN28 error_leaderboard_1 Most probably I am doing something wrong. So if I can get help, it would be great. Thanks for your time.

Squatnet commented 3 years ago

The folder you need should already exist.. its res://android/build/res/values/Strings.xml rather than res://values/Strings.xml