Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | gabealonso |
Hi Everyone! I have a questions when I export my project to Android.
I have the following files and folders in my res://
res://addons/godot-sqlite/
res://dataStore/database.db
res://dataStore/database.sqbpro
res://global_env/global_functions.gd
res://global_env/global_var.gd
res://scenes/
I have some issues with exporting my local db in the Android export, for example, I have in my code the following variables:
const SQLite = preload("res://addons/godot-sqlite/bin/gdsqlite.gdns")
var db # database object
var db_name = "res://dataStore/database.db" # database path
I’ve read somewhere that you should change the path to user:// but I cannot find the way, I even try to filter the export mode by adding the database.db to “Filters to export non-resource files/folders” in the Android export mode.
I also have a register too but the database and the SQLite addon isn’t exported as well.
Any ideas?
Thank you all!