Bug? Files in the Files folder are not found (only in Debug mode)

jo1234

Active Member
Licensed User
Longtime User
Hi

my app has issues to use files that are in the app/Files folder. I added these files in the Files tab with 'Add files', they are in that folder and they are shown in the File tab before and after pressing 'Sync'.

However, my app does not show the png file in the ImageView (Error loading bitmap: Error opening stream: The operation couldn’t be completed. No such file or directory)
and crashes when executing
Main.mp.Initialize(File.DirAssets, "sound.mp3", "mp")

This occurs only in debug mode. If I use 'Build release app' everything works.

I'm using Win7 64bit.
 

jo1234

Active Member
Licensed User
Longtime User
This is Erel's solution that fixed the problem:

1. Try to uninstall the app from the device.
2. Then Tools - Clean Project
3. Install the app again.

Thanks!
 
Top