I use b4a 1.48. and I debug my app in emulator. I found when every time I run app in emulator. b4a erases my file in DirDefaultExternal.