I removed some files from a copy of my project. Now they have physically been deleted. Looking at the subdirectory via File Explorer search says the files are there. But files do not appear on the file side when I bring up that subdirectory. Appears to be pointers only.
I can't believe that removing a file from a project PHYSICALLY deletes the file. Can this be so ??? Any help on getting them back. Enormous amount of time involved in creating them. These are BAL files.
Hello,
I am not sure that I full understand what you mean. If the files were deleted from Windows file system, perhaps could you try to recover them using Recuva for example ?
If the files were only removed from the project, perhaps could you try adding them again from the Files panel ? (I know this seems stupid but I am really unsure to have fully understood)
Additional you can check the generated APK in [projectdir]\Objects
Copy the file and rename [youname].apk to [yourname].zip and open it with a zip-tool.
Look at the folder assets in the zip to probably find the missing BALs
Side note: in the files tab, when you chose to remove a file, you are prompt with a question that most don't even read: "do you want to DELETE it from the files folder?"
If all you want is to remove the reference to the files in your project, so that they do not get packed along when compiling, then you should answer NO
This also happened to me early-on when I was still getting used to B4A. Lost many things that I then had to re-generate. Now I always answer "NO" to the question that pops up about DELETING the files.
In addition, any time I have a set of changes I want to make to a project, I ALWAYS make a backup of the entire current project (prior to making any changes) and place a date in the overall folder name when the copy is made, so that if I do make the kind of mistake mentioned in POSTS #1 and #4, I can always go back to previous version(s) to retrieve files I may have lost.
Side note: in the files tab, when you chose to remove a file, you are prompt with a question that most don't even read: "do you want to DELETE it from the files folder?"
If all you want is to remove the reference to the files in your project, so that they do not get packed along when compiling, then you should answer NO