(This post has a B4i companion here.) Let's say you have a library that is a view. (Example: AS Checkbox, which is what I used when I found this issue.) Add that view to a layout but don't reference it in code anywhere. Disable the library in the Libraries Manager. The IDE will not warn...
www.b4x.com