Added element in androidmanifest to get code working - it was expecting integer value in the "gms version".