This phenomenon occurs, if it is not because the version of gradle is too high, or the version of android studio is too low
, I have to change one. Here I am changing the version of gradle, not upgrading android studio.
The version of gradle-wrapper.properties is too high.
Reference link