asales Expert Licensed User Longtime User Sep 25, 2025 #1 I'm starting to migrate my B4A apps to B4i. Most of the issues I could fixed. I saw several old threads (2014, 2015, 2017) about this question, but I'd like a new answer in case it still doesn't work. Several of my B4A apps has images in subfolders of the DirAssets folder and I use this code: B4X: Copy ivImage1.Bitmap = xui.LoadBitmapResize(File.DirAssets, id & "/" & "1.webp", ivImage1.Width, ivImage1.Height, True) In B4i I get this error: B4X: Copy Error opening stream (/private/var/mobile/Containers/Data/Application/F75779B4-16D8-44DA-AA2C-4707C3ACC089/tmp/virtual_assets/1/1.webp): Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" UserInfo={_kCFStreamErrorCodeKey=2, _kCFStreamErrorDomainKey=1} Does B4i still not support subfolders in DirAssets like the B4A?
I'm starting to migrate my B4A apps to B4i. Most of the issues I could fixed. I saw several old threads (2014, 2015, 2017) about this question, but I'd like a new answer in case it still doesn't work. Several of my B4A apps has images in subfolders of the DirAssets folder and I use this code: B4X: Copy ivImage1.Bitmap = xui.LoadBitmapResize(File.DirAssets, id & "/" & "1.webp", ivImage1.Width, ivImage1.Height, True) In B4i I get this error: B4X: Copy Error opening stream (/private/var/mobile/Containers/Data/Application/F75779B4-16D8-44DA-AA2C-4707C3ACC089/tmp/virtual_assets/1/1.webp): Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" UserInfo={_kCFStreamErrorCodeKey=2, _kCFStreamErrorDomainKey=1} Does B4i still not support subfolders in DirAssets like the B4A?
Erel B4X founder Staff member Licensed User Longtime User Sep 28, 2025 #2 B4i doesn't support subfolders in the assets folder. It is also not exactly supported by B4A and B4J. Upvote 0
B4i doesn't support subfolders in the assets folder. It is also not exactly supported by B4A and B4J.