B4J Question [SOLVED] SetImage - release mode

jroriz

Active Member
Licensed User
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
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:
Upvote 0
Top