What exactly are you writing up or developing?
Simple, try to only use b4xlibs libraries, for the likes of databases (which you know a lot about as you've created database libs) use SQL library, try to stick with libs like Network, RandonAccesFile etc etc etc as much as humanly possible, but that can be rather difficult as times.
That is easier said than done.
Lately whenever I create a new B4X solution I use B4XPages and try my best to stick to using b4xlibs that are work on all three platforms. If I can't stick to using b4xlibs only then I just work my way around the situation but I do try to at least stick to the default libraries of all three platforms (even though in a lot of real world scenarios that is not always possible).
Just one more thing