How to export a json file to android apk.

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

Hi, everyone
I encountered a problem, I want to export my project to android platform, but the apk file not include the json file. How can I export the json file to apk package?
Somebody can help me?
Thank you very much!

:bust_in_silhouette: Reply From: timoschwarzer

Mark *.json files as resources.

:bust_in_silhouette: Reply From: Amigoimaginario
  1. 380/5000
    I faced this problem too, so I stuck a lot until I did the following.
    1- Change file directory to user: //
    2-Copy and paste your json file where is your project in “user”, how to find? just go to C: \ Users \ Lara \ AppData \ Roaming \ Godot \ app_userdata \ ProjectName
    3-Va on Export >>> Resource >>> Filters to export non-resource files: type * .json
    Ready 3