It is a wonder you can even compile under Win XP... (if you are using it for your dev platform PC).
Years ago, I was happily developing with XP. THEN, one day (without any updates of B4X or XP) - it all stopped (no compile)...
Fought it for two weeks until I relented and bought a new Win 8.1 machine. All worked (and is still working) great.
XP has been EOL for many days now. Try to support anything on a defunct OS is akin to a "death by a thousand cuts".
You may never resolve your issues under XP, as I was not, but hey - how much frustration are you willing to endure - and support thereafter?
My 2 pesos...