[TIMOB-9028] Rewrote the Android build system.