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
I am facing an issue in a Flutter project while using Firebase. I have tested various methods, including changing the package version, changing the Gradle version, clearing cache, etc., but none of them worked, I even tried to add jar libs manually.
The project runs normally, but when I add the firebase_core package, I encounter the following error:
` A problem occurred configuring project :firebase_core.
> Could not resolve all artifacts for configuration ':firebase_core:classpath'.
> Could not find manifest-merger-31.1.2.jar (com.android.tools.build:manifest-merger:31.1.2).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/manifest-merger/31.1.2/manifest-merger-31.1.2.jar
> Could not find aaptcompiler-8.1.2.jar (com.android.tools.build:aaptcompiler:8.1.2).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/aaptcompiler/8.1.2/aaptcompiler-8.1.2.jar
> Could not find crash-31.1.2.jar (com.android.tools.analytics-library:crash:31.1.2).
> Failed to notify project evaluation listener.
> Could not get unknown property 'android' for project ':firebase_core' of type org.gradle.api.Project. `
settings.gradle:
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
// END: FlutterFire Configuration
id "com.android.application" version "8.4.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
id "com.google.gms.google-services" version "4.4.2" apply false
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am facing an issue in a Flutter project while using Firebase. I have tested various methods, including changing the package version, changing the Gradle version, clearing cache, etc., but none of them worked, I even tried to add jar libs manually.
The project runs normally, but when I add the firebase_core package, I encounter the following error:
build.gradle:
build.gradle(app):
Beta Was this translation helpful? Give feedback.
All reactions