FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> AAPT2 aapt2-4.1.3-6503028-osx Daemon #0: Unexpected error during link, attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
* Get more help at https://help.gradle.org
The Android Gradle Plugin tells you that this shouldn’t happen and that you should report it to them.
And indeed you already opened an issue with them, even though it is a duplicate of existing issues.
So what is the point of your thread here?