give an error Plugin project :firebase_core not found. Please update settings.gradle. Plugin project :firebase_auth not found. Please update settings.gradle. when add firebase_core: ^2.13.0 firebase_auth: ^4.6.1to dependencies
i also change the minsdk to 23 and target sdk to 33 and also compile sdk to 33
The error message suggests that the plugin projects firebase_core
and firebase_auth
cannot be found. To resolve this issue, you need to update the settings.gradle
file in your project.
- Open the
settings.gradle
file in your project directory. - Make sure that the following lines are present:
include ':app'
include ':firebase_core'
include ':firebase_auth'
- Save the changes to the
settings.gradle
file. - Sync your project with the updated
settings.gradle
file by clicking on the “Sync Now” button in Android Studio or running the Gradle sync command in the terminal.
After updating the settings.gradle
file and syncing the project, the plugin projects should be recognized and the error should be resolved.