In latest Android studio(Flutter), it's not appear "open for editing in android studio" in app/build.gradle,
- you can check ctrl+shift+A, and check for "Execute gradle task"
- if it didn't work either, than do checkout your java and gradle version! there's certain version matching needed! you can check online!
Mine works with Java 17, or you can install java 11(do check online)!
- check your java version first! if it latest(java 22) than go to your jdk path and put your installed jdk(11 or 17) in that path!
- Ensure to add path and system environment variables to installed jsk(17) instead of latest!
- Go ahead, restart Android Studio, and open cmd in Android directory(cmd android)
- paste this: flutterfire configure
Good luck!!