# RunGradle.bat is Failed : Execution failed for task ':app:processDebugResources'

**URL:** <https://forums.unrealengine.com/t/rungradle-bat-is-failed-execution-failed-for-task-processdebugresources/485055>\
**Category:** Mobile\
**Tags:** gradle, unreal-engine, Android, question\
**Created:** [June 21, 2021, 8:36am UTC](https://forums.unrealengine.com/t/rungradle-bat-is-failed-execution-failed-for-task-processdebugresources/485055 "2021-06-21T08:36:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SomeDail](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SomeDail](https://forums.unrealengine.com/u/SomeDail)\
**Post date:** [June 21, 2021, 8:36am UTC](https://forums.unrealengine.com/t/rungradle-bat-is-failed-execution-failed-for-task-processdebugresources/485055/1 "2021-06-21T08:36:45Z")

</div>

It builds normally in the editor, but an error occurs when building in Jenkins.

```
  Execution failed for task ':app:processDebugResources'.
  > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
     > Failed to transform play-services-auth-11.8.0.aar (com.google.android.gms:play-services-auth:11.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\a5bfefc3390fe8242124503106abe28c\play-services-auth-11.8.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\4d012f171b26dfa012344c6ceb51db27\com.google.android.gms.auth.api: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform play-services-plus-11.8.0.aar (com.google.android.gms:play-services-plus:11.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\807577d7e014edfac0a575371ca99ae5\play-services-plus-11.8.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\9e34c169d374c5d58c1aae38312e35d8\com.google.android.gms.plus: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform play-services-base-11.8.0.aar (com.google.android.gms:play-services-base:11.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\5a9e64eaa775527212e8809063333fcd\play-services-base-11.8.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\66edd846d91b68db7e415f8a881ab1c0\com.google.android.gms.base: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform play-services-base-11.8.0.aar (com.google.android.gms:play-services-base:11.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\5a9e64eaa775527212e8809063333fcd\play-services-base-11.8.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\66edd846d91b68db7e415f8a881ab1c0\com.google.android.gms.base: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform play-services-base-11.8.0.aar (com.google.android.gms:play-services-base:11.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\5a9e64eaa775527212e8809063333fcd\play-services-base-11.8.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\66edd846d91b68db7e415f8a881ab1c0\com.google.android.gms.base: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform play-services-base-11.8.0.aar (com.google.android.gms:play-services-base:11.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\5a9e64eaa775527212e8809063333fcd\play-services-base-11.8.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\66edd846d91b68db7e415f8a881ab1c0\com.google.android.gms.base: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform play-services-base-11.8.0.aar (com.google.android.gms:play-services-base:11.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\5a9e64eaa775527212e8809063333fcd\play-services-base-11.8.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\66edd846d91b68db7e415f8a881ab1c0\com.google.android.gms.base: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform play-services-base-11.8.0.aar (com.google.android.gms:play-services-base:11.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\5a9e64eaa775527212e8809063333fcd\play-services-base-11.8.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\66edd846d91b68db7e415f8a881ab1c0\com.google.android.gms.base: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform play-services-base-11.8.0.aar (com.google.android.gms:play-services-base:11.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\5a9e64eaa775527212e8809063333fcd\play-services-base-11.8.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\66edd846d91b68db7e415f8a881ab1c0\com.google.android.gms.base: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform support-media-compat-27.1.0.aar (com.android.support:support-media-compat:27.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\f2951af0c9a3852e4971aa7ee1fa81bb\support-media-compat-27.1.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\dc0550d99ca914f0ddca71cc4ff11796\android.support.mediacompat: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform support-compat-27.1.0.aar (com.android.support:support-compat:27.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\42713a44eae2131946fbd126fa19168a\support-compat-27.1.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\caf11be8fd23a43f4f685d8139529f79\android.support.compat: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform support-compat-27.1.0.aar (com.android.support:support-compat:27.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\42713a44eae2131946fbd126fa19168a\support-compat-27.1.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\caf11be8fd23a43f4f685d8139529f79\android.support.compat: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform support-compat-27.1.0.aar (com.android.support:support-compat:27.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\42713a44eae2131946fbd126fa19168a\support-compat-27.1.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\caf11be8fd23a43f4f685d8139529f79\android.support.compat: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform support-compat-27.1.0.aar (com.android.support:support-compat:27.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\42713a44eae2131946fbd126fa19168a\support-compat-27.1.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\caf11be8fd23a43f4f685d8139529f79\android.support.compat: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     > Failed to transform support-compat-27.1.0.aar (com.android.support:support-compat:27.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
        > Execution failed for AarResourcesCompilerTransform: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\42713a44eae2131946fbd126fa19168a\support-compat-27.1.0.
           > Android resource compilation failed
             AAPT: C:\Windows\System32\config\systemprofile\.gradle\caches\transforms-2\files-2.1\caf11be8fd23a43f4f685d8139529f79\android.support.compat: error: 占�??占쏙옙?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙 李얠쓣 ?占쏙옙 ?占쏙옙?占쏙옙?占쏙옙?占쏙옙. (2).
  
  
     * 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.
     * Get more help at https://help.gradle.org
     BUILD FAILED in 13s 47 actionable tasks: 47 executed ERROR: cmd.exe failed with args /c "C:\Jenkins\workspace\Build_BlackClover_Android\Intermediate\Android\arm64\gradle\rungradle.bat" :app:assembleDebug Took 110.7509105s to run UnrealBuildTool.exe, ExitCode=6 UnrealBuildTool failed. See log for more details. (C:\Windows\system32\config\systemprofile\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.26\UBT-ProjectVic-Android-Development.txt) AutomationTool exiting with ExitCode=6 (6)

```

UE4 4.26  
Android Gradle Plugin 3.5.3  
Gradle 6.1.1  
Build Configuarion : Development

Run “C:\Jenkins\workspace{workspaceName}\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug" in command prompt is no error. But always failed in jenkins.

Why is this error happening?

I tried change build-tools version from 30.0.3 to 29.0.2, delete Intermediate folder, environment variables check… but all failed. I have no idea what to do.

Please help… lol.

---

<div class="post-metadata">

**Author:** ![ZECZHAI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZECZHAI](https://forums.unrealengine.com/u/ZECZHAI)\
**Post date:** [November 14, 2021, 12:13pm UTC](https://forums.unrealengine.com/t/rungradle-bat-is-failed-execution-failed-for-task-processdebugresources/485055/2 "2021-11-14T12:13:44Z")

</div>

Same problem here. Have you fixed this issue?

---

<div class="post-metadata">

**Author:** ![javierkim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@javierkim](https://forums.unrealengine.com/u/javierkim)\
**Post date:** [July 1, 2022, 8:35am UTC](https://forums.unrealengine.com/t/rungradle-bat-is-failed-execution-failed-for-task-processdebugresources/485055/3 "2022-07-01T08:35:25Z")

</div>

Solved this by adding gradle path to “GRADLE\_USER\_HOME” Environment variable.

Related links:

> <https://stackoverflow.com/questions/72491695/jenkins-compiling-android-results-in-the-system-cannot-find-the-file-specified>

> <https://serverfault.com/questions/1026538/jenkins-integration-with-android-studio>
