This issue occurs when I'm trying to build APK. Otherwise, when I'm running the application it runs without any issue.
Here's the logcat for details:
Execution failed for task ':app:packageGeneralQaDebug'.
> Multiple task action failures occurred:
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
> java.io.IOException: Failed to create '/Users/muhammad/Documents/Example/app/build/outputs/apk/appGeneralQa/debug/example.apk'
> A failure occurred while executing
* 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.