Update android and gradle version, adding common functions to CMUtils