so kindly assist how to solve such issue?!
You deleted the line repositories {
above the line 2
same issue here
FAILURE: Build failed with an exception.
-
Where:
Script ‘/Users/taimoor/Documents/flutter/packages/flutter_tools/gradle/flutter.gradle’ line: 1159 -
What went wrong:
Execution failed for task ‘:app:compileFlutterBuildDebug’.
Process ‘command ‘/Users/taimoor/Documents/flutter/bin/flutter’’ finished with non-zero exit value 1
- 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 8s
Exception: Gradle task assembleDebug failed with exit code 1
Your issue is not even similar to that of the OP.
Please don’t hijack totally unrelated threads, but create a new one.
(Besides that the information you provided is not enough to give any hint anyway, scroll up to see more information or select a higher node in the tree on the left if you are using IntelliJ or Android Studio)
Target debug_android_application failed: Exception: null. The flutter tool cannot access the file or directory.
Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user.
FAILURE: Build failed with an exception.
-
Where:
Script ‘C:\flutter\packages\flutter_tools\gradle\flutter.gradle’ line: 1151 -
What went wrong:
Execution failed for task ‘:app:compileFlutterBuildDebug’.
Process ‘command ‘C:\flutter\bin\flutter.bat’’ finished with non-zero exit value 1
- 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 8s
Exception: Gradle task assembleDebug failed with exit code 1
What can i do ?
Read my answer right above your inappropriate question?