Repository navigation
Replies: 3 comments
|
Hi @djrain, thanks for the detailed report! The issues you are seeing are likely because the native binary files are missing from your For Android, you need: The To fix it:
On the gradle failure, the error about
Three ways around it:
One more thing: one-click deploy does not use gradle build by default. For native plugins like godot-iap to work on device, either enable Gradle Build in export settings, or export an APK/AAB and install it manually. Let us know if the AAR files were indeed missing! |
|
@hyochan thanks for reply! verified my addons/godot-iap/ looks correct, and restarted Godot:
so not sure why the checkbox isn't showing up. |
|
Sorry, my earlier answer sent you down the wrong path. I downloaded the 3.5.0 release myself and the The piece that is probably missing is the Android build template. Android plugins only work under the Gradle build, and that needs
Our own working example has exactly that: an Full setup, including the folder layout and this Gradle requirement: https://openiap.dev/docs/setup/godot If the template is already installed, tell me your Godot version and show the export preset screen rather than Project Settings, and I will dig further. |

Uh oh!
There was an error while loading. Please reload this page.
Hi, thanks so much for the plugin. I'm having trouble getting it working for our released app. I followed the doc instructions:
added godot-iap folder to /addons
enabled plugin in project settings
but when I run the game on Android via one-click deploy, I get this output:
[GodotIap] Initializing native plugin...
[GodotIap] Platform: Android
[GodotIap] Checking for Android singleton...
[GodotIap] ERROR: GodotIap singleton not found!
[GodotIap] Native plugin not available - running in no native plugin
[GodotIap] This is expected when running in the editor or on desktop
[GodotIap] init_connection called
[GodotIap] ERROR: Cannot init connection — native plugin not available.
The docs suggest that it also needs to be enabled in export settings:
but I don't have a checkbox for GodotIap showing up in either iOS or android export settings.
Also, I need to enable gradle build for an admob plugin, but when I enable it, the export fails with this:
Not sure what I'm doing wrong - appreciate any help!
Godot 4.7.2 stable
godot-iap 3.5.0
macOS Tahoe 26.4
All reactions