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 have installed firebase CLI and and I have run flutterfire configure and also added dependencies of firebase_core but when i try to run the app it shows me this BIG error
Launching lib\main.dart on SM G960N in debug mode...
main.dart:1
[Fatal Error] proguard-gradle-6.0.3.pom:2:1: Content is not allowed in prolog.
[Fatal Error] fastutil-7.2.0.pom:2:1: Content is not allowed in prolog.
[Fatal Error] httpcore-4.4.10.pom:2:1: Content is not allowed in prolog.
[Fatal Error] kotlin-reflect-1.3.50.pom:2:1: Content is not allowed in prolog.
[Fatal Error] antlr4-4.5.3.pom:2:1: Content is not allowed in prolog.
[Fatal Error] gson-2.8.5.pom:2:1: Content is not allowed in prolog.
[Fatal Error] oss-parent-7.pom:2:1: Content is not allowed in prolog.
[Fatal Error] kotlin-stdlib-1.3.50.pom:2:1: Content is not allowed in prolog.
2
[Fatal Error] oss-parent-7.pom:2:1: Content is not allowed in prolog.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':firebase_core'.
> Could not resolve all files for configuration ':firebase_core:classpath'.
> Could not resolve net.sf.proguard:proguard-gradle:6.0.3.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4
> Could not resolve net.sf.proguard:proguard-gradle:6.0.3.
> Could not parse POM https://repo.maven.apache.org/maven2/net/sf/proguard/proguard-gradle/6.0.3/proguard-gradle-6.0.3.pom
> Content is not allowed in prolog.
> Could not resolve it.unimi.dsi:fastutil:7.2.0.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.build:builder:3.5.4
> Could not resolve it.unimi.dsi:fastutil:7.2.0.
> Could not parse POM https://repo.maven.apache.org/maven2/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.pom
> Content is not allowed in prolog.
> Could not resolve org.apache.httpcomponents:httpcore:4.4.10.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.analytics-library:crash:26.5.4
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.build:builder:3.5.4 > com.android.tools:sdklib:26.5.4
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.analytics-library:crash:26.5.4 > org.apache.httpcomponents:httpclient:4.5.6
> Could not resolve org.apache.httpcomponents:httpcore:4.4.10.
> Could not parse POM https://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.4.10/httpcore-4.4.10.pom
> Content is not allowed in prolog.
> Could not resolve org.jetbrains.kotlin:kotlin-reflect:1.3.50.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.lint:lint-gradle-api:26.5.4
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.build:builder:3.5.4 > com.android.tools:sdk-common:26.5.4
> Could not resolve org.jetbrains.kotlin:kotlin-reflect:1.3.50.
> Could not parse POM https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-reflect/1.3.50/kotlin-reflect-1.3.50.pom
> Content is not allowed in prolog.
> Could not resolve org.antlr:antlr4:4.5.3.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > androidx.databinding:databinding-compiler-common:3.5.4
> Could not resolve org.antlr:antlr4:4.5.3.
> Could not parse POM https://repo.maven.apache.org/maven2/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom
> Content is not allowed in prolog.
> Could not resolve com.squareup:javapoet:1.8.0.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > androidx.databinding:databinding-compiler-common:3.5.4
> Could not resolve com.squareup:javapoet:1.8.0.
> Could not parse POM C:\Users\malaa\.gradle\caches\modules-2\files-2.1\org.sonatype.oss\oss-parent\7\46b8a785b60a2767095b8611613b58577e96d4c9\oss-parent-7.pom
> Content is not allowed in prolog.
> Could not resolve com.google.code.gson:gson:2.8.5.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > androidx.databinding:databinding-compiler-common: 3.5.4
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.build:builder:3.5.4 > com.android.tools:sdklib:26.5.4
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.build:builder:3.5.4 > com.android.tools.build:manifest-merger:26.5.4
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.build:builder:3.5.4 > com.android.tools:sdk-common:26.5.4 > com.android.tools.analytics-library:shared:26.5.4
> Could not resolve com.google.code.gson:gson:2.8.5.
> Could not parse POM https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom
> Content is not allowed in prolog.
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.50.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.50
project :firebase_core > com.android.tools.build:gradle:3.5.4 > org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.50 > org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.50
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.50.
> Could not parse POM https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.3.50/kotlin-stdlib-1.3.50.pom
> Content is not allowed in prolog.
> Could not resolve com.google.auto.value:auto-value:1.5.2.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.build:bundletool:0.9.0
> Could not resolve com.google.auto.value:auto-value:1.5.2.
> Could not parse POM https://repo.maven.apache.org/maven2/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.pom
> Could not resolve com.google.auto:auto-parent:3.
> Could not resolve com.google.auto:auto-parent:3.
> Could not parse POM C:\Users\malaa\.gradle\caches\modules-2\files-2.1\org.sonatype.oss\oss-parent\7\46b8a785b60a2767095b8611613b58577e96d4c9\oss-parent-7.pom
> Content is not allowed in prolog.
> Could not resolve com.google.code.gson:gson:2.8.5.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.build.jetifier:jetifier-core:1.0.0-beta04
> Could not resolve com.google.code.gson:gson:2.8.5.
> Could not parse POM https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom
> Content is not allowed in prolog.
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.50.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.build.jetifier:jetifier-core:1.0.0-beta04
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta04
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.50.
> Could not parse POM https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.3.50/kotlin-stdlib-1.3.50.pom
> Content is not allowed in prolog.
> Could not resolve com.google.code.gson:gson:2.8.5.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.google.protobuf:protobuf-java-util:3.4.0
> Could not resolve com.google.code.gson:gson:2.8.5.
> Could not parse POM https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom
> Content is not allowed in prolog.
> Could not resolve com.google.j2objc:j2objc-annotations:1.1.
Required by:
project :firebase_core > com.android.tools.build:gradle:3.5.4 > com.android.tools.analytics-library:crash:26.5.4 > com.google.guava:guava:27.0.1-jre
> Could not resolve com.google.j2objc:j2objc-annotations:1.1.
> Could not parse POM C:\Users\malaa\.gradle\caches\modules-2\files-2.1\org.sonatype.oss\oss-parent\7\46b8a785b60a2767095b8611613b58577e96d4c9\oss-parent-7.pom
> Content is not allowed in prolog.
> Failed to notify project evaluation listener.
2
> Could not get unknown property 'android' for project ':firebase_core' of type org.gradle.api.Project.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
Get more help at https://help.gradle.org/ BUILD FAILED in 20s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have installed firebase CLI and and I have run flutterfire configure and also added dependencies of firebase_core but when i try to run the app it shows me this BIG error
Beta Was this translation helpful? Give feedback.
All reactions