Bug? Debug mode

tufanv

Expert
Licensed User
Longtime User
Hello

I am having a problem for the code
B4X:
    Dim imgdkk As Bitmap =LoadBitmap(File.DirAssets, "denmark.png")

in debug mode it gives :
B4X:
Error opening stream: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"

while the file is already in files tab. In release mode there is no problem. The app is wprking fine. Can it be a bug ?

ty
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…