jroriz Active Member Licensed User Longtime User Feb 15, 2019 #1 Hi. Why this works for debug mode, but for release mode it generates "file not found"? B4X: Dim img As ImageView img.Initialize("") img.SetImage(fx.LoadImage(File.DirAssets, "finding.gif")) MainForm.RootPane.AddNode(img, 0, 0, MainForm.Width, MainForm.Height) MainForm.Show
Hi. Why this works for debug mode, but for release mode it generates "file not found"? B4X: Dim img As ImageView img.Initialize("") img.SetImage(fx.LoadImage(File.DirAssets, "finding.gif")) MainForm.RootPane.AddNode(img, 0, 0, MainForm.Width, MainForm.Height) MainForm.Show
MarkusR Well-Known Member Licensed User Longtime User Feb 15, 2019 #2 b4j, sure? i u speak about b4a, maybe it is not a valid file for the setup. i would try a .png and compare case-sensitive in file system and at sourcecode. Last edited: Feb 15, 2019 Upvote 0
b4j, sure? i u speak about b4a, maybe it is not a valid file for the setup. i would try a .png and compare case-sensitive in file system and at sourcecode.
jroriz Active Member Licensed User Longtime User Feb 15, 2019 #3 It needs to be gif, cause its animated... The case-sensitive is correct. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 17, 2019 #4 Works fine here in release mode. Upvote 0
jroriz Active Member Licensed User Longtime User Feb 17, 2019 #5 Erel said: Works fine here in release mode. Click to expand... Here: Windows 10, jdk 11.0.1, java 8-201 Upvote 0
Erel said: Works fine here in release mode. Click to expand... Here: Windows 10, jdk 11.0.1, java 8-201
jroriz Active Member Licensed User Longtime User Feb 17, 2019 #6 Got it! The file was in the files folder, but I forgot to include the file using the IDE file manager tab. Upvote 0
Got it! The file was in the files folder, but I forgot to include the file using the IDE file manager tab.