Further to this previous WISH back in 2019.
https://www.b4x.com/android/forum/threads/export-as-zip-with-additional-libraries.107733/
My need is when archiving a project for a client and assuring that all relevant libraries are included in the archive.
This would prevent missing components of a project or even problems arising from library version differences to libraries recovered from the forum in the future.
The same issue exist for me with B4A, B4i and B4J.
A second IDE menu item of "Export as ZIP (with Additional Libraries)" or maybe a sub-menu, item 1: "with additional libraries" and Item 2: "without".
I know some libraries require additional JAR files as they are sometimes wrappers or extensions, but declares in the MAIN code would cover this too.