I didn't catch this in previous PR, but as @RotaruDan said, Point2D is android incompatible.