-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Error when exporting to Android #144
Comments
I will add the binaries to the gdsqlite.gdextension-file ASAP. |
These are the missing entries that I´ve added to gdsqlite.gdextension file: In [dependencies] section: That's all. |
@artiko99-b1 but you managed to make the database work after that? Like read/write to the db in Android, because in my case it wont work even if I do this gdextension modification. It exports but do not actually work when reading something from the db. |
@Labanazario |
@artiko99-b1
The latest |
Fwiw, I am getting the exact same error when exporting to Android: I am using the stock/provided gdsqlite.gdextension file as well. Also, it did previously export properly when I was using Godot v4.0.1 with an (unknown) previous version of this plugin. |
I hit this issue when exporting for Android as well (Godot 4.1.1, godot-sqlite 4.2). If I understand the issue correctly, it's because there is no binary for the 32 bit Android architectures (armeabi-v7a and x86). Once I removed those target architectures from my build, everything worked as expected. I can read and write databases in the user space on my builds. |
I have a cheap android that my app needs to run on (armeabi-v7a) - How can I get it running on there without running into the "Could not find type "SQLite" in the current scope." error |
I'm also getting this error when exporting to Android in release mode. Are there any working fixes for this? |
@jlucki I was able to get this working. what i did was:
open your godot project and try a build. it should work |
Environment:
Issue description:
When I export to android I get the error "No suitable library found for GDExtension: res://addons/godot-sqlite/gdsqlite.gdextension. Possible feature flags for your platform: mobile, android, etc2, astc, arm64, arm64-v8a, template, debug, template_debug"
I can install the generated APK/AAB file on android but the Sqlite functions are ignored so the app on mobile does not work.
What I have found out:
I have looked in the gdsqlite.gdextension file and I have seen that it does not have the libraries it should use for android. It doesn't have the depencies either.
I have edited the file adding the missing entries and now the Android export works correctly.
Please correct the gdsqlite.gdextension file with the missing entries.
The text was updated successfully, but these errors were encountered: