Any file that you put in one of the jars will be included in the compiled jar. Getting it to work in all modes, including standalone package, can be difficult.
As a general rule, everything that you can do in B4X should be done in B4X. Only the missing pieces should be implemented natively.