Pablo
12/05/2024, 12:21 PMHristijan
12/05/2024, 12:21 PMPablo
12/05/2024, 12:22 PMPablo
12/05/2024, 12:22 PMHristijan
12/05/2024, 12:24 PMdbFile.path
and find out?Pablo
12/05/2024, 12:25 PMPablo
12/05/2024, 12:25 PMPablo
12/05/2024, 12:34 PMval dbFile = File("output/db.db")
Ben Abramovitch
12/05/2024, 8:13 PMPablo
12/05/2024, 8:20 PMBen Abramovitch
12/05/2024, 8:23 PMPablo
12/05/2024, 8:25 PMPablo
12/05/2024, 8:26 PMBen Abramovitch
12/05/2024, 8:30 PMJdbcSqliteDriver("jdbc:sqlite:LiveDatabase.db")
And this was saving it in the root folder of the android studio project.
Now its
JdbcSqliteDriver("jdbc:sqlite:${getWorkingDir()}/LiveDatabase.db")
which points to the data folders for mac/windows (still haven't set it up for linux). I'm still looking for a better way to generate the working directories though, i'm not happy with what I have, and a library I tried caused crashes.Ben Abramovitch
12/05/2024, 8:33 PMPablo
12/05/2024, 8:50 PM