Open blackcan opened 11 months ago
followed the readme and just had the same error
I was able to build and use the plugin on Godot 4.2.1
by doing the following:
master
branchbilling-v5
branch into the master
branchHi Tom, after merging in the #52 PR, were you using the docs for the 4.2 Godot or were you using earlier docs?
Hi Tom, after merging in the #52 PR, were you using the docs for the 4.2 Godot or were you using earlier docs?
I used the 4.2 docs :)
Here's a link to the specific page just to be sure: https://docs.godotengine.org/en/stable/tutorials/platform/android/android_in_app_purchases.html
Hello Tom, can you send me the plugin you build for godot 4.2.1? i tried to build it but in the last step my gradle did not work correctly. Your help will really appreciated.
Hi Tom, after merging in the #52 PR, were you using the docs for the 4.2 Godot or were you using earlier docs?
I used the 4.2 docs :)
Here's a link to the specific page just to be sure: https://docs.godotengine.org/en/stable/tutorials/platform/android/android_in_app_purchases.html
Thanks Tom!
Managed to understand what code was needed to be updated. Turns out the master branch just needed an updated gradle wrapper to 7.4.2, updating the Android build tools to 7.2.2 and updating the repository name in build.gradle file. With this Gradle compiles the master branch properly and should be good for 4.2.1!
If anyone needs help with gradle compile issues feel free to chuck me a message and I'll see if I can help out. I'll also look into getting a PR merged so no one needs to make these changes themselves. Until then people are free to use my fork and compile it. Should work as long as you have Java 17 installed. https://github.com/PrabhTonicbits/godot-google-play-billing
Hello Tom, can you send me the plugin you build for godot 4.2.1? i tried to build it but in the last step my gradle did not work correctly. Your help will really appreciated.
Hi Sage, I have a compiled master branch for 4.2.1 https://file.io/Ctl5cdVtKcrz Let me know if this works for you Cheers!
Hello Tom, can you send me the plugin you build for godot 4.2.1? i tried to build it but in the last step my gradle did not work correctly. Your help will really appreciated.
Hi Sage, I have a compiled master branch for 4.2.1 https://file.io/Ctl5cdVtKcrz Let me know if this works for you Cheers!
I just checked and it was deleted. I really need it. :(
Hello Tom, can you send me the plugin you build for godot 4.2.1? i tried to build it but in the last step my gradle did not work correctly. Your help will really appreciated.
Hi Sage, I have a compiled master branch for 4.2.1 https://file.io/Ctl5cdVtKcrz Let me know if this works for you Cheers!
I just checked and it was deleted. I really need it. :(
Hi Sage, Sorry about that, it seems like the service I used does a onetime download link and I downloaded it to check if it was working lol! https://file.io/sjhd46VarCU8 Cheers!
Thank you really much.
@TomSemeijn Did try your fork, and i got a bit further. Now I do however get a bunch of these messages:
/Users/gillbergprivat/Dev/godot-google-play-billing-fork/godot-google-play-billing/src/main/java/org/godotengine/godot/plugin/googleplaybilling/utils/GooglePlayBillingUtils.java:33: error: cannot find symbol import org.godotengine.godot.Dictionary; ^ symbol: class Dictionary location: package org.godotengine.godot
Any idea? :)
@grusad It happened to me because I was moving the .arr to the wrong folder.
After forking the repo, it created a folder with the name godot-google-play-billing
. My mistake was to create the folder libs
directly inside of it. But there's another folder inside the fork named godot-google-play-billing
. That's the folder to add the .arr file, fixing the problem in my case.
Illustrating:
Silly mistake, but took me hours to find out. xD
Hello Tom, can you send me the plugin you build for godot 4.2.1? i tried to build it but in the last step my gradle did not work correctly. Your help will really appreciated.
Hi Sage, I have a compiled master branch for 4.2.1 https://file.io/Ctl5cdVtKcrz Let me know if this works for you Cheers!
I just checked and it was deleted. I really need it. :(
Hi Sage, Sorry about that, it seems like the service I used does a onetime download link and I downloaded it to check if it was working lol! https://file.io/sjhd46VarCU8 Cheers!
Oh no...
Not found again.
Hi, I followed the README steps but encountered the build failure, here is the error output:
I'm not familiar with Gradle and Android development so don't know how to troubleshoot.