ported to android studio 1.0.0