0 votes

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://globalenv/globalfunctions.gd
res://globalenv/globalvar.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!

in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.