There is a mismatch in the internal gradle version of the flutter ide you are using and the ide which the system has,check in the settings of that flutter ide whether the local gradle path can be set from the flutter ide and try that,invalidating the caches and restarting the ide should do it