fixing conditional android deploy