Error building with Gradle

Hi there,

We are upgrading to Unreal 4.20, and we are having issues building the Engine with Android support.

We are getting 2 types of errors.
First, we get some of these errors. They don’t seem to cause the build to fail, but still.

libgpg.a(.eh_frame); no .eh_frame_hdr table will be created.

And later on, we get - Execution failed for task ‘:app:mergeDebugResources’ - when it tries to fetch files from res\drawable, all of which are related to play-services-base or play-services-plus only:

C:\Windows\System32\config\systemprofile.gradle\caches ransforms-1\files-1.1\play-services-base-11.8.0.aar\f9dc571359705d5c935f3f0504df4a06\res\drawable\common_google_signin_btn_text_disabled.xml: error: file not found. C:\Windows\System32\config\systemprofile.gradle\caches ransforms-1\files-1.1\play-services-base-11.8.0.aar\f9dc571359705d5c935f3f0504df4a06\res\drawable-mdpi-v4\common_google_signin_btn_text_dark_normal_background.9.png: error: file not found. C:\Windows\System32\config\systemprofile.gradle\caches ransforms-1\files-1.1\play-services-plus-11.8.0.aar\918ca94282e8a44ebd47f0243602c392\res\drawable-mdpi-v4\ic_plusone_medium_off_client.png: error: file not found. C:\Windows\System32\config\systemprofile.gradle\caches ransforms-1\files-1.1\play-services-base-11.8.0.aar\f9dc571359705d5c935f3f0504df4a06\res\drawable-xhdpi-v4\common_google_signin_btn_icon_dark_normal_background.9.png: error: file not found.

Anyone seen that before?
Thanks for your help!

Hi there,
I’m basically also having the same issue concerning the app:merge…
It’s talking about aapt2 error. Did you manage to find a solution?