I have upgraded Android Studio to 3.4.1 and Gradle 5.1.1. Showing error: "Process unexpectedly exits", while run /builds project.
How to resolve this?
- I tried Clean Projec-> Rebuild Project
- Uninstalled complete Android Studio and then Re-installed
- Followed Some Stack Overflow suggestion as well.
Nothing worked
Error: Process unexpectedly exit.
org.gradle.execution.MultipleBuildFailures: Build completed with 1 failure.
Caused by: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeDebugResources'.
Caused by: com.android.ide.common.workers.WorkerExecutorException: 8 exceptions were raised by workers:
com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.1-5326820-windows Daemon #0: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
Caused by: com.android.builder.internal.aapt.v2.Aapt2InternalException: Failed to start AAPT2 process.
Caused by: java.io.IOException: Process unexpectedly exit.
please help