You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flutter doctor result:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.17.4, on Microsoft Windows [Version 10.0.19041.329], locale en-GB)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 4.0)
[√] Connected device (2 available)
• No issues found!
Fixes attempted:
Tried changing minSdkVersion from 16 to 21.
In the app level build.gradle added multiDexEnabled true to defaultConfig and added dependency for androidx.multidex:multidex:2.0.1.
Updated settings.gradle to -->
include ':app'
def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
def plugins = new Properties()
def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
if (pluginsFile.exists()) {
pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
}
plugins.each { name, path ->
def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
include ":$name"
project(":$name").projectDir = pluginDirectory
}
Included firebase_core: ^0.4.5 in pubspec.yaml and did pub get
The errors still remain the same.
Experts, please advise.
The text was updated successfully, but these errors were encountered:
I have the same issue exactly. Thought it was worth noting the Flutter code works fine on iOS.
Steps to reproduce: Install stable release of Flutter 1.17.4, Go through steps of codelab at [https://codelabs.developers.google.com/codelabs/flutter-firebase/ ] adding firebase to the default app.
Expected Result: App runs identically on iOS and Android
Actual Result: App runs on iOS, App fails to run on Android with error Plugin project :firebase_core_web not found. Please update settings.gradle. Plugin project :firebase_auth_web not found. Please update settings.gradle.
I thought about this and thought it was environmental and was able to get my app working by resolving inconsistencies in my android applicationID and package settings, (I had renamed it) and using the settings in #2796 - all working on 1.17.5 now. sorry for the noise.
Error list:
Running Gradle task 'assembleDebug'...
Plugin project :firebase_core_web not found. Please update settings.gradle.
Plugin project :firebase_auth_web not found. Please update settings.gradle.
Flutter doctor result:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.17.4, on Microsoft Windows [Version 10.0.19041.329], locale en-GB)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 4.0)
[√] Connected device (2 available)
• No issues found!
Fixes attempted:
minSdkVersion
from 16 to 21.multiDexEnabled true
todefaultConfig
and added dependency forandroidx.multidex:multidex:2.0.1
.firebase_core: ^0.4.5
in pubspec.yaml and didpub get
The errors still remain the same.
Experts, please advise.
The text was updated successfully, but these errors were encountered: