[mono-android] Crash in Release Mode

Jonathan Pryor jonp at xamarin.com
Wed Jan 4 11:59:17 EST 2012


On Dec 28, 2011, at 7:37 AM, was wrote:
> Not quite! In Release mode I have to use: 
> 
> Stream myInput = Assets.Open("SkylogPro.db"); 
> 
> whereas in Debug mode I have to use: 
> 
> Stream myInput = Assets.Open("skylogpro.db"); 
> 
> The file in the Assets folder is: SkylogPro.db! How does one clear the Assets cache?

Cleaning the project should do so. If not, remove the `obj` directory; the cached assets are in obj\{Debug,Release}\assets.

 - Jon



More information about the Monodroid mailing list