https://www.b4x.com/android/forum/threads/google-play-services-installation-tips.45843/
- google-play-services.jar is a large library. It will add about 3mb to the apk size. It will also slow down the compilation process.
You can make the optimized dexer step much quicker by increasing the memory that the dexer can use.
In order to do this you need to close the IDE, go to %APPDATA%\Anywhere Software\Basic4android in Windows explorer.
Edit b4aV0.1.ini with a text editor and increase the value of MaxRamForDex from 512 to 1024 or more.