Android Question B4A. Load from DirAsset error

ZJP

Active Member
Licensed User
Hi,

Just upgrade to the latest version (9.50) from the 6.50.

I have now an error "An error has occured in sub:main_activity_create (java line: 474). java.io.FileNotFoundException: marker_oranged.png".

in this line
B4X:
Dim tmp1 As Bitmap = LoadBitmap(File.DirAssets, "marker_oranged.png")
The file is (of course) present in the File Manager.

I have this error with every LoadFromAssets to.

Any solution?
Thanks
 

ZJP

Active Member
Licensed User
Hi,
I have trying anything both of you have suggested. Even changing the device. The error still present.
Back to the 6.50 for this project, and i will use the 9.50 for the next one.

Thanks.
 
Top