Closed Draethos closed 9 months ago
Hi @Draethos
when you say you get the error in the ouput when you try to export, I'm understanding the android export, right? Have you tried running the game in an emulator or a real device through USB, instead of exporting the .aab or .apk package? Just to make sure that running in an emulator/real device has the same problem or not.
About the Error: 7 that you mention, I don't know what's that, but it looks like a problem in your configuration of the Google Play Games Services for your App.
Ok so for both exporting it as .aab or .apk and using remote debugging, it gives me the problem. The error 7, idk what that is either, but we are gonna try uninstalling godot and reinstalling cause its been having problems such as never fully closing and being just a general piece of shit.
Ok, let me know if reinstalling godot works
reinstalling godot did not solve the issues i am still getting error 7
Hi, so you are not getting the other error now? the "could not create child process"?
About the other error, check if you have your Google Play Games Services configuration published here:
I often forgot about publishing them.
Also, a part from this error 7 when you open the project, can you signin to your Games Services account when you run the game?
Ok sorry I worded my sentence wrong, I'm having BOTH issues, and the error 7 is happening every time I turn on the project or turn off then on the plugin. Also I do have the game published cause its game I've been working on for a while and I was trying to do google save through another plugin and it wasnt working, so I switched to 4.2 and downloaded this plugin instead. Also i can't export AT ALL so i cant check if i can sign in or not. I tried ure demo version as well, it shows me the save error "Error loading configuration for Game Services! Error: 7" as well.
So i found out a minute ago, that for some reason i dont have a gradlew.bat in my android/build folder, got any ideas why that might be?
ah, ok so it seems a problem with the Android Build Template. Try completely removing the android/build
folder of your godot project and reinstalling the android template. Make sure your template is for Godot 4.2 in the Editor > Manage Export Templates...
menu:
Ok so I fixed both problems which might help someone later, so if u get the "Could not create child process: "E:\Robin\Applications\Godot#### \android\build\gradlew.bat" clean bundleRelease -p "E:/Robin/Applications/Godot/######/android/build" "-Pexport_package_name=#######" "-Pexport_version_code=52" "-Pexport_version_name=0.2" "-Pexport_version_min_sdk=24" "-Pexport_version_target_sdk=34" "-Pexport_enabled_abis=armeabi-v7a|arm64-v8a|x86|x86_64" "-Pplugins_local_binaries=E:/Robin/Applications/Godot/####android/plugins/GodotGooglePlayBilling.1.2.0.release.aar|E:/Robin/Applications/Godot/#######/addons/GodotPlayGameServices/bin/release/GodotPlayGameServices-release.aar" message and the error 7, that means ure gradlew.bat is for some reason NOT installed wwith the android build template. Thank you man for trying to help me and sorry i bothered you. Hope you have a great week.
no worries at all man! this is very helpful and I will add the case to the troubleshooting section of the documentation! glad it works now!!
So I just finished implementing a test to try out the signing in and saving, I try to export and I get this message in the output"Could not create child process: "E:\Robin\Applications\Godot#### \android\build\gradlew.bat" clean bundleRelease -p "E:/Robin/Applications/Godot/######/android/build" "-Pexport_package_name=#######" "-Pexport_version_code=52" "-Pexport_version_name=0.2" "-Pexport_version_min_sdk=24" "-Pexport_version_target_sdk=34" "-Pexport_enabled_abis=armeabi-v7a|arm64-v8a|x86|x86_64" "-Pplugins_local_binaries=E:/Robin/Applications/Godot/####android/plugins/GodotGooglePlayBilling.1.2.0.release.aar|E:/Robin/Applications/Godot/#######/addons/GodotPlayGameServices/bin/release/GodotPlayGameServices-release.aar"
I also get "Error loading configuration for Game Services! Error: 7" every time I open the Godot project