The presence and structure of build.gradle files can vary depending on the specific configuration of your Flutter project and the versions of the tools you are using
Focusing on the "Android" option simplifies explanations for tutorials aimed at beginners. It allows them to showcase Firebase integration without diving into the nuances of Flutter-specific configuration. Viewers can then apply the core concepts to their Flutter projects by following the additional Flutter setup steps usually documented by Firebase
* What went wrong: Execution failed for task ':gradle:compileGroovy'. > BUG! exception in phase 'semantic analysis' in source unit 'C:\flutter\packages\flutter_tools\gradle\src\main\groovy\app_plugin_loader.groovy' Unsupported class file major version 65
after typying ./gradlew signingReport cmd i got this error:* What went wrong: Execution failed for task ':gradle:compileGroovy'. > BUG! exception in phase 'semantic analysis' in source unit 'C:\flutter\packages\flutter_tools\gradle\src\main\groovy\app_plugin_loader.groovy' Unsupported class file major version 65
$ flutter run Launching lib\main.dart on CPH2095 in debug mode... FAILURE: Build failed with an exception. * What went wrong: Could not read workspace metadata from C:\Users\User\.gradle\caches\8.7\groovy-dsl\e6c35db008ca5b327197f096a979cb7b\metadata.bin > C:\Users\User\.gradle\caches\8.7\groovy-dsl\e6c35db008ca5b327197f096a979cb7b\metadata.bin (The system cannot find the file specified) * 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 help.gradle.org. BUILD FAILED in 9s Running Gradle task 'assembleDebug'... 11.4s Error: Gradle task assembleDebug failed with exit code 1 [19/04, 7:10 pm] Robins Karani: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'. > Could not resolve all artifacts for configuration ':classpath'. > Could not find com.android.tools.build:gradle:8.7.0. Searched in the following locations: - dl.google.com/dl/android/maven2/com/android/tools/build/gradle/8.7.0/gradle-8.7.0.pom - repo.maven.apache.org/maven2/com/android/tools/build/gradle/8.7.0/gradle-8.7.0.pom Required by: 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 help.gradle.org.
Okay On win go to %userprofile%\.gradle\caches On mac ~/.gradle/caches/ You can browse directory delete it then run the project This will take some time
i was stuck with this error for a long time. Thanks a lot you saved my day
You're Welcome 🔥
best tutorial ever ❤
Thanks ❤
I love your videos. They are helpful. Thanks
Thanks ❤
Could you do a tuto on how to download and show pdf?
It will be great 👍🏿👍🏿
It's good idea
Why not
Great explanation ❤
Thanks ❤
in my build.gradle I dont have buildscript and depencies why?
The presence and structure of build.gradle files can vary depending on the specific configuration of your Flutter project and the versions of the tools you are using
Thanks :)
Welcome
❤❤
Thanks ❤
why not choose flutter for flutter?
i also don't know why btw
Focusing on the "Android" option simplifies explanations for tutorials aimed at beginners.
It allows them to showcase Firebase integration without diving into the nuances of Flutter-specific configuration.
Viewers can then apply the core concepts to their Flutter projects by following the additional Flutter setup steps usually documented by Firebase
the Android option in the Firebase console is a starting point, and Flutter-specific setup is required for a complete Flutter application
Good ❤❤❤❤❤
Thanks ❤
* What went wrong:
Execution failed for task ':gradle:compileGroovy'.
> BUG! exception in phase 'semantic analysis' in source unit 'C:\flutter\packages\flutter_tools\gradle\src\main\groovy\app_plugin_loader.groovy' Unsupported class file major version 65
Open a terminal and run java -version
If your version is less than Java 10, download and install the latest Java
after typying ./gradlew signingReport cmd
i got this error:* What went wrong:
Execution failed for task ':gradle:compileGroovy'.
> BUG! exception in phase 'semantic analysis' in source unit 'C:\flutter\packages\flutter_tools\gradle\src\main\groovy\app_plugin_loader.groovy' Unsupported class file major version 65
Download and install Java 21 JDK from the official website and ensure the Gradle configuration specifies the correct Java version Java 21
@@AK-ki3vo already did that.but I've another error
$ flutter run
Launching lib\main.dart on CPH2095 in debug mode...
FAILURE: Build failed with an exception.
* What went wrong:
Could not read workspace metadata from C:\Users\User\.gradle\caches\8.7\groovy-dsl\e6c35db008ca5b327197f096a979cb7b\metadata.bin
> C:\Users\User\.gradle\caches\8.7\groovy-dsl\e6c35db008ca5b327197f096a979cb7b\metadata.bin (The system cannot find the file specified)
* 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 help.gradle.org.
BUILD FAILED in 9s
Running Gradle task 'assembleDebug'... 11.4s
Error: Gradle task assembleDebug failed with exit code 1
[19/04, 7:10 pm] Robins Karani: FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find com.android.tools.build:gradle:8.7.0.
Searched in the following locations:
- dl.google.com/dl/android/maven2/com/android/tools/build/gradle/8.7.0/gradle-8.7.0.pom
- repo.maven.apache.org/maven2/com/android/tools/build/gradle/8.7.0/gradle-8.7.0.pom
Required by:
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 help.gradle.org.
Okay
On win go to %userprofile%\.gradle\caches
On mac ~/.gradle/caches/
You can browse directory delete it then run the project
This will take some time