0

After upgrading to Flutter 3.29.0, Android build scripts have migrated to .kts files. When trying to connect my project to Firebase using the flutterfire CLI, I'm encountering a PathNotFoundException:

PathNotFoundException: Cannot open file, path = 'D:\Flutter Projects\pin_park_field_app\android\build.gradle' (OS Error: The system cannot find the file specified., errno = 2)

The issue seems to be that the flutterfire CLI is still looking for the old build.gradle file, while the updated Flutter project uses build.gradle.kts. How can I resolve this? Do I need to manually adjust the flutterfire configuration, or should I wait for a flutterfire CLI update that supports .kts build scripts?

1 Answer 1

1

flutterfire_cli version 1.1.0 has been released, adding support for Gradle Kotlin DSL build files. To update run dart pub global activate flutterfire_cli.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.