convert to android project
throw illegal state exceptuions