Android error

209 views
Skip to first unread message

niyigena mike

unread,
Dec 6, 2023, 10:53:41 AM12/6/23
to Firebase Google Group
hello every one i have an error which i have been facing for  days and i need your help 

C:\Users\Texas Electronics Lt\newsdkproject>flutter run
Launching lib\main.dart on SO 03J in debug mode...

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 com.android.tools.build:gradle:8.1.2.
     Required by:
         project :firebase_core
      > Could not resolve com.android.tools.build:gradle:8.1.2.
         > Could not parse POM https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/8.1.2/gradle-8.1.2.pom
            > Resetting to invalid mark
> Failed to notify project evaluation listener.
   > Could not get unknown property 'android' for project ':firebase_core' of type org.gradle.api.Project.
   > 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 5m 20s
Running Gradle task 'assembleDebug'...                            324.4s
Exception: Gradle task assembleDebug failed with exit code 1
Reply all
Reply to author
Forward
0 new messages