Hi,
I'm getting the following error when my app starts.
android.content.res.Resources$NotFoundException: Resource ID #0x0
It uses a library which requires several XML (like android_content_strings.xml) in the "res\values" subfolder.
I tried to place all of the XML files at "Objects\res\values" in my project's dir, marking them as read-only but B4A ignores them. If I open the APK (debug or release) in 7-zip, I don't see any "res\values" folder.
I also tried to use a specific resource folder "myres\values", I used in code:
#AdditionalRes: D:\My Documents\myproject\myres
and all contents (including subfolders) from myres was compiled in "res" except the values subfolder!
It's like B4A was coded to ignore the contents in this values subfolder.
So how can we add it?
Thank you!
EDIT: I found this as a possible explanation, but I would like to have a confirmation from some experienced user: https://www.b4x.com/android/forum/threads/wrapping-android-library-projects.36410/
I'm getting the following error when my app starts.
android.content.res.Resources$NotFoundException: Resource ID #0x0
It uses a library which requires several XML (like android_content_strings.xml) in the "res\values" subfolder.
I tried to place all of the XML files at "Objects\res\values" in my project's dir, marking them as read-only but B4A ignores them. If I open the APK (debug or release) in 7-zip, I don't see any "res\values" folder.
I also tried to use a specific resource folder "myres\values", I used in code:
#AdditionalRes: D:\My Documents\myproject\myres
and all contents (including subfolders) from myres was compiled in "res" except the values subfolder!
It's like B4A was coded to ignore the contents in this values subfolder.
So how can we add it?
Thank you!
EDIT: I found this as a possible explanation, but I would like to have a confirmation from some experienced user: https://www.b4x.com/android/forum/threads/wrapping-android-library-projects.36410/
Last edited: