i have the same issue and as a solution upgrading the gradle version in the project works as well. but every time i create a new flutter project i have to repeat this process. the default gradle version is always set to 8.3 . and i dont know how to change it.