you don't need these two line of code in settings.gradle file
include ':firebase_core' project(':firebase_core').projectDir = new File(rootProject.projectDir, '../../AppData/Local/Pub/Cache/hosted/pub.dev/firebase_core-3.9.0/android')