PS C:\Users\wongp\Music\E-commerce-Complete-Flutter-UI-master\android> ./gradlew signingReport
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file 'C:\Users\wongp\Music\E-commerce-Complete-Flutter-UI-master\android\build.gradle' line: 53
* What went wrong:
A problem occurred evaluating root project 'android'.
> Cannot add task 'clean' as a task with that name already exists.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring root project 'android'.
> compileSdkVersion is not specified. Please add it to build.gradle
* 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 1s
I’m not into Android at all.
But looking at the build scripts you posted, I’d guess your problem is that you apply the Android application plugin to the root project and there it is then missing the compileSdkVersion.
You probably did that to be able to specify the Firebase Auth dependency.
But if you have the typical project layout it does not really make sense to have that dependency there.
So I guess you need to move the Firebase Auth dependency to your app subproject and stop applying the Android application plugin to the root project.