Convert to gradle and android studio