Android Question B4A. Load from DirAsset error

ZJP

Active Member
Licensed User
Longtime 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
Longtime 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.
 
Upvote 0

ZJP

Active Member
Licensed User
Longtime User
Hi,

The 'assets' folder is not present in the 'v950 apk'. :confused:
 

Attachments

  • apk v650.jpg
    apk v650.jpg
    48.4 KB · Views: 86
  • apk v950.jpg
    apk v950.jpg
    48.5 KB · Views: 84
  • error msg.jpg
    error msg.jpg
    83.8 KB · Views: 80
Upvote 0
Top