[Solved] … error:check logs for details

Error:Execution failed for task ‘:app:mergeDebugResources’.

Error: java.util.concurrent.ExecutionException: AAPT2 error: check logs for details

Solution #1:

It will happen, if your one of paths contains non-ASCII or ‘ ‘ (space) character.
Try to change your service directory path to: C:/Users/Public/.gradle in Settings->Build, Execution, Deployment->Gradle

Respondent: Sefa Sönmez

Solution #2:

AAPT2 Error solution.

If your Android studio has been updated.

Maybe, you would face an error in the studio like “AAPT 2 error: check the log for details

This error will occur when you have done something wrong in your .xml file such as incorrect value, content not found, etc.

But, At that time you will not have the error specification there. Because the new version of Android Studio does not give you a specific error. It gives like AAPT2 error.

If you want to know where the actual error is

Follow step.

  1. Look at the panel which is at the right of your Android studio Check
    out the “Gradle” tab and click on it.
  2. You will see the “app” option. Click on it.
  3. In the app options you will see [Tasks -> build] click on it.
  4. Then you will get options list and see “assembleDebug” double click
    on it
  5. Keep the patience and See build tab at the bottom panel of Android
    studios, you will get a specific error there.

enter image description here

Respondent: R.Desai

Solution #3:

If you’re in Ionic, there might be missing configurations from config.xml to your android platform. In my case was xmlns:android="" missing in app/src/main/res/xml/config.xml and in AndroidManifest.xml

Respondent: Rhoel Cartojano

The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Most Popular

To Top
India and Pakistan’s steroid-soaked rhetoric over Kashmir will come back to haunt them both clenbuterol australia bossier man pleads guilty for leadership role in anabolic steriod distribution conspiracy