0

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?

  1. I tried Clean Projec-> Rebuild Project
  2. Uninstalled complete Android Studio and then Re-installed
  3. 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.

Error screen 1

Details Erroe 1 enter image description here

please help

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841
Prafulla Nayak
  • 169
  • 1
  • 6

0 Answers0