What can be possible solution for " Execution failed for task ':app:mergeDebugJavaResource'. " while running flutter app - flutter

Execution failed for task ':app:mergeDebugJavaResource'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
File 'com.android.builder.files.ZipCentralDirectory#15d7a122' was deleted, but previous version not found in cache

Related

Execution failed for task ':app:signReleaseBundle'. / buildTypes cant release

Execution failed for task ':app:signReleaseBundle'.
A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
java.lang.NullPointerException (no error message)
honestly i tried everything :)

AppReleasebundle not Build

Execution failed for task ':app:signReleaseBundle'.
A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
java.lang.NullPointerException (no error message)
App Release bundle > A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
java.lang.NullPointerException (no error message)

Execution failed for task ':app:signReleaseBundle'

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Failed to read key locii from store "E:\Flutter-App\android\app\locii.jks": No key with alias 'locii' found in keysto
re E:\Flutter-App\android\app\locii.jks
BUILD FAILED in 1m 46s
Running Gradle task 'bundleRelease'... 107.7s
Gradle task bundleRelease failed with exit code 1
Your jks file not found in the path just check where you the jks file provide the correct path

Error building mongo 4.2.12 on debian 10 arm64

I am trying to build mongo on Debian 10 arm64. I am trying to use the official documentation to build but it's failing every time. I am just building mongod using the command:
python3 buildscripts/scons.py mongod
This results in the following error:
Compiling build/opt/mongo/db/logical_clock.o
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
scons: *** [build/opt/mongo/transport/message_compressor_options_server_gen.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/transport/message_compressor_options_server_gen.o failed: Error 1
Previous build try resulted in:
**g++:** **fatal error:** Killed signal terminated program cc1plus
compilation terminated.
scons: *** [build/opt/mongo/db/db.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/db/db.o failed: Error 1
Online search suggested that I might be using the wrong tool chain:

Android Studio - fail to build "Execution failed for task ':app:mergeDebugResources'."

I'm new with Android Studio, and I'm just trying to run the sample code automatically generated for a Flutter project, but I'm having issues while trying to run the build. Here is the error I get on the console:
Launching lib/main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:mergeDebugResources'.
Multiple task action failures occurred:
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #1: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #0: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #4: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #7: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #6: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #2: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #5: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
AAPT2 aapt2-3.5.0-5435860-osx Daemon #3: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
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 9s
Finished with error: Gradle task assembleDebug failed with exit code 1
The problem is one of the plugins. Delete one and run again