Closed lcatoni72 closed 2 years ago
Hi @lcatoni72!
You can't create nor edit databases in the res://
-folder on Android.
This is restriction of Android and not something fixable by this plugin, as discussed here:
https://github.com/2shady4u/godot-sqlite#4-my-androidioshtml5-application-cannot-access-the-database
Your options are:
user://
-folder and change the database path to the path of the copied version. See the implementation of this exact thing in the demo-project: https://github.com/2shady4u/godot-sqlite/blob/f1eea6edea38f62d00df77929380f17f9fd0166e/demo/database.gd#L52Note that in the second option, you won't be able to write anything to the database as the database will be packaged into your application's .PCK-file which is read-only by design.
Great, I used first solution with copy_data_to_user() function !! It works, thanks !!!
Closing this as the issue is resolved!
Hi, I'm having this issue executing code on my phisical android device form godot v 3.4.4.4 No issues playing on windows from Godot environment, all it works perfectly Can someone help me ? Thanks.