So, I have a txt file, and when my app starts, I want it to be added in the app directory. In other words, I want the txt file to be a part of the apk.
Thanks for you time!
So, I have a txt file, and when my app starts, I want it to be added in the app directory. In other words, I want the txt file to be a part of the apk.
Thanks for you time!
 
    
     
    
    You can put text file in your asset folder.
 folder and navigate to the
 folder and navigate to the Assets Folder.
Finish.
It will create the assets folder in the main target source set.

Details and image: https://stackoverflow.com/questions/18302603/where-do-i-place-the-assets-folder-in-android-studio
