Android Question Custom view and DirAsset ....

Yayou49

Active Member
Licensed User
Hi,

I've a created a small custom view using a file .jpg stored in Dir Asset.
I have now a new library to be used.

When I use this new library in my project, in debug mode, everything works fine.

Problem occurs when compiling this project in release mode, system told me :
B4X:
java.io.FileNotFoundException: vu.jpg
    at android.content.res.AssetManager.openAsset(Native Method)

What is the root cause ???
jpg file is not embeded in the lib ??

Thx in advance.
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…