Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ai-boson opened this issue Dec 7, 2020 · 1 comment
Open

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

ai-boson opened this issue Dec 7, 2020 · 1 comment

Comments

@ai-boson
Copy link

ai-boson commented Dec 7, 2020

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants