after change windows and update android studio the project that I worked on it didn't run and show some errors - flutter

FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:signingConfigWriterDebug'.
java.nio.file.AccessDeniedException: E:\Flutter\Flutter_Projects\news_app\build\app\intermediates\signing_config\debug\out\signing-config.json
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 1m 58s
Exception: Gradle task assembleDebug failed with exit code 1
enter image description here

Someone already had a similar issue in Github. I think you can go to the link and follow the solution shown there. Let me know if it fixed the issue.

Le di en Clean Project
Build > Clean Project

Related

erron on vscode gradle

i have one error that's is impossible for me to solve, what kind of problem is this shit?
I've searched for many ways to fix this but i don't have found it nothing for this problem on vscode only for android studio, someone can help me?
enter image description here
this impossibilite me to deploy my application in a on virtual android always stop in this error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
> Resource compilation failed. Check logs for details.
* 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 4s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
You should run
flutter run --verbose
and try to upload new image error.
I've found it whats happening man,in flutter in pub dev they gave changed the ways of splash screen it's not using the drawables anymore,we must create in lib paste the archive called Splash-Screen.dart and code all the splash screen rsrsrs but i'll appreciate your bro,and i'm very thankfull for that.

Flutter: When I run this code flutter build appbundle this error occurs

PS C:\Users\saikr\projects\Todo-Flutter-master> flutter build appbundle
Building with sound null safety
Removed unused resources: Binary resource data reduced from 36KB to 28KB: Removed 21%
FAILURE: Build failed with an exception.
What went wrong:
A problem was found with the configuration of task ':app:signingConfigWriterRelease' (type 'SigningConfigWriterTask').
No value has been specified for property 'signingConfig.keyPassword'.
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 1m 34s
Running Gradle task 'bundleRelease'... 95.7s
Gradle task bundleRelease failed with exit code 1
Anyone know how to solve this error? if so do let me know
try to create a new sign key, I think your sign key is broken

I always fail to run with an error description in the flutter contact picker

This problem only exists when I run it on Android, for iOS there is no problem, I run it smoothly.
This is an error display when I try to run it :
e: /Users/yohanescatur/Documents/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttercontactpicker-4.2.1/android/src/main/kotlin/me/schlaubi/fluttercontactpicker/ContactPicker.kt: (52, 280): Unresolved reference: stackTraceToString
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':fluttercontactpicker:compileDebugKotlin'.
Compilation error. See log for more details
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 28s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
can you help me find this problem?
set kotlin to 1.4.21
this is what i did to solve this problem.
set kotlin to 1.5.10
this is what i did to solve this problem.
please flutter clean and pub get after upgrade kotlin version

run the app for first time have this error

i am begginer
i try to play an app in android studio but I cant and showed me this error.
can you help me?
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 builder.jar (com.android.tools.build:builder:3.5.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.5.0/builder-3.5.0.jar
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 3s
Exception: Gradle task assembleDebug failed with exit code 1

Could not resolve all task dependencies for configuration ':google_sign_in:debugCompileClasspath'

App was working completely fine but suddenly it is invoking the following issue.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':google_sign_in:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':google_sign_in:debugCompileClasspath'.
> Could not resolve project :google_sign_in_web.
Required by:
project :google_sign_in
> Unable to find a matching configuration of project :google_sign_in_web:
- None of the consumable configurations have attributes.
* 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 2s
Finished with error: Gradle task assembleDebug failed with exit code 1
I have imported the latest google_sign_in package in pubspec.yaml but still facing the same build failed error. Any help please!
Solved it by running following command in flutter terminal:
flutter pub cache repair
All of the packages were downloaded and re-installed again.