How to export json files for android build

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By TwoWayStudios

I’m planning to export a game to Android. The game should be exported with some default json data (for example the player’s starting stats etc.). I’m using the path user:// to store the files which on android would be something like internal/android/data/com.gamename/.

In my project structure I have a folder called Data which has these .json files and when exporting to an apk or aab package I go to project -> export -> resources -> Non resource files and I provide it with the path to my json files like so Data/*.json. I then build and export the project, install it on a test device and check the data/com.gamename directory but there’s nothing there.

What am I doing wrong? Does Godot’s user:// point to another directory that I’m not aware of or did I not export the files properly?