Yayou49 Active Member Licensed User Aug 31, 2018 #1 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: Aug 31, 2018
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.
LucaMs Expert Licensed User Longtime User Aug 31, 2018 #2 Yayou49 said: jpg file is not embeded in the lib ?? Click to expand... https://www.b4x.com/android/forum/threads/embedding-files-in-compiled-libraries.37689/#content Upvote 0
Yayou49 said: jpg file is not embeded in the lib ?? Click to expand... https://www.b4x.com/android/forum/threads/embedding-files-in-compiled-libraries.37689/#content