After updating studio 3.4
and Gradle version to 5.1.1
I got the error on my task as Could not find method leftShift()
My task:
task incrementBetaVersion << {
println("Incrementing Beta Version Number...")
incrementVersionNumber('BetaVersionNumber')
println("Incrementing Beta Version Number...")
incrementVersionName('BetaVersionName')
}
I got the error for the left shift operator <<
in the line.
How to resolve this error?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…