pantaraf Member Licensed User Longtime User Mar 10, 2014 #1 I'm getting an exception using the ICOSWorldWeather when I call Code: Copy ImageView1.SetBackgroundImage(Meteo.CCIcon) I always get a file not found exception, no matter what file is involved. Code: Copy java.io.FileNotFoundException: weathericon/wsymbol_0004_black_low_cloud.png Up to this morning, before updating to B4A 3.50, everything worked fine. Do I have to make any action? I've refreshed the files tab and clean project as well. Of course actual files are at their own place into the Files directory. Is this related to 3.50? Just for clarity, when I load the very same files in the same app directly the get loaded correctly. Code: Copy ImageView1.SetBackgroundImage(LoadBitmap(File.DirAssets,filename)) Thanks. Raffaele
I'm getting an exception using the ICOSWorldWeather when I call Code: Copy ImageView1.SetBackgroundImage(Meteo.CCIcon) I always get a file not found exception, no matter what file is involved. Code: Copy java.io.FileNotFoundException: weathericon/wsymbol_0004_black_low_cloud.png Up to this morning, before updating to B4A 3.50, everything worked fine. Do I have to make any action? I've refreshed the files tab and clean project as well. Of course actual files are at their own place into the Files directory. Is this related to 3.50? Just for clarity, when I load the very same files in the same app directly the get loaded correctly. Code: Copy ImageView1.SetBackgroundImage(LoadBitmap(File.DirAssets,filename)) Thanks. Raffaele
Erel B4X founder Staff member Licensed User Longtime User Mar 10, 2014 #2 I guess that you only get this error in rapid debug mode. This means that this library loads the assets files directly instead of relying on the internal framework (File.OpenInput). You will need to disable the new virtual assets folder feature. This is done by adding #DebuggerForceStandardAssets: true in the main activity. Upvote 0
I guess that you only get this error in rapid debug mode. This means that this library loads the assets files directly instead of relying on the internal framework (File.OpenInput). You will need to disable the new virtual assets folder feature. This is done by adding #DebuggerForceStandardAssets: true in the main activity.