I'm using the DirAssets folder to store text files which are used in my App.
If I look in the files explorer there are 21 of these files. If I look in the files tab of the B4A IDE there are also 21 files. I have synchronised the Files tab, and used clean files and clean project.
If I compile in release mode there are 21 files found by ListFiles. However, if compile in debug there are 32 files. The additional files are ones that I have previously used, but removed. I may have removed them using the IDE, or deleted them from the folder, then resynced the IDE. Either way, they are completely invisible in every sense, apart from in ListFiles when compiled in Debug mode.
This is causing some grief as my App synchronises these files to a physical device when it runs, so if I try to use Debug mode it syncs the wrong files.
Can I do something to stop this?
If I look in the files explorer there are 21 of these files. If I look in the files tab of the B4A IDE there are also 21 files. I have synchronised the Files tab, and used clean files and clean project.
B4X:
'Get files from Tablet
Dim AssetFiles As List
AssetFiles = File.ListFiles(File.DirAssets)
Log(AssetFiles.Size & " Asset Files Found")
If I compile in release mode there are 21 files found by ListFiles. However, if compile in debug there are 32 files. The additional files are ones that I have previously used, but removed. I may have removed them using the IDE, or deleted them from the folder, then resynced the IDE. Either way, they are completely invisible in every sense, apart from in ListFiles when compiled in Debug mode.
This is causing some grief as my App synchronises these files to a physical device when it runs, so if I try to use Debug mode it syncs the wrong files.
Can I do something to stop this?