Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / help with play game sdk please

Author
Message
dandrews
3
Years of Service
User Offline
Joined: 26th Jun 2020
Location:
Posted: 1st Jun 2023 14:25
im unsure of where to put this code google needs for the play game services since i cant find the gradle files for mt tier 1 project
In your project-level build.gradle file, include Google's Maven repository and Maven central repository in both your buildscript and allprojects sections:


buildscript {
repositories {
google()
mavenCentral()
}
}

allprojects {
repositories {
google()
mavenCentral()
}
}
Add the Google Play services dependency for the Play Games SDK to your module's Gradle build file, which is commonly app/build.gradle:


dependencies {
implementation "com.google.android.gms:play-services-games-v2:+"
}
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 3rd Jun 2023 03:12
The .apk file is just a zip file renamed
You can rename your .apk to .zip, make the changes to the manifest, re-zip the file and rename the .zip to .apk it should work i think.
dandrews
3
Years of Service
User Offline
Joined: 26th Jun 2020
Location:
Posted: 3rd Jun 2023 04:25
thank you ill give it a try

dandrews
3
Years of Service
User Offline
Joined: 26th Jun 2020
Location:
Posted: 5th Jun 2023 02:44
Quote: " make the changes to the manifest "
i found two files refering to manifest: Androidmanifest and Manifest.mf
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 5th Jun 2023 03:58
I would search the files for "buildscript" or "allprojects"
dandrews
3
Years of Service
User Offline
Joined: 26th Jun 2020
Location:
Posted: 5th Jun 2023 04:30
Quote: "I would search the files for "buildscript" or "allprojects""

no luck with those terms in any file
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 5th Jun 2023 09:34
It appears he romat has changed from .apk to .aab. Maybe the method of enabling the services has changed too

Login to post a reply

Server time is: 2024-04-26 14:30:52
Your offset time is: 2024-04-26 14:30:52