- Open Windows Terminal as Run as Administrator
- Run this command
git config --global --add safe.directory C:/flutter
- Close and open IntelliJ again.
- Go to IntelliJ Setting and check these..
- Language & Frameworks > Android SDK is set properly and show android sdk version
- If it's not, cliek
Edit
and it should find the installed version already and Next Next Next.
- Language & Frameworks > Flutter SDK is set properly and show flutter version