# Android UE4.27 Run gradle.bat but with some messed up errors

**URL:** <https://forums.unrealengine.com/t/android-ue4-27-run-gradle-bat-but-with-some-messed-up-errors/1214739>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, question\
**Created:** [June 29, 2023, 8:09pm UTC](https://forums.unrealengine.com/t/android-ue4-27-run-gradle-bat-but-with-some-messed-up-errors/1214739 "2023-06-29T20:09:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![C0deVisionary](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/c0devisionary/32/883162_2.png) [@C0deVisionary](https://forums.unrealengine.com/u/C0deVisionary)\
**Post date:** [June 29, 2023, 8:09pm UTC](https://forums.unrealengine.com/t/android-ue4-27-run-gradle-bat-but-with-some-messed-up-errors/1214739/1 "2023-06-29T20:09:12Z")

</div>

So, I finished my android game and was preparing to test on my mobile device. Then while launching, I get this error -

```auto
LogPlayLevel: FAILURE: Build failed with an exception.
LogPlayLevel: * What went wrong:
LogPlayLevel: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
LogPlayLevel: > Installed Build Tools revision 33.0.0 is corrupted. Remove and install again using the SDK Manager.
LogPlayLevel: * Try:
LogPlayLevel: 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.
LogPlayLevel: * Get more help at https://help.gradle.org
LogPlayLevel: BUILD FAILED in 7s

```

And below that, I got cmd.exe failed with args and `Intermediate\Android\armv7\gradle\rungradle.bat" :app:assembleDebug`

I’ve tried renaming the d8.bat to dx.bat in Appdata\local\android\Sdk\build-tools\33.0.0 and duplicating d8.bat and renaming the duplicate to dx.bat. The same I did to the d8.jar in the lib folder in 33.0.0\lib.

I’ve also tried completely removing the version 33 from android studio but it gives me a different error saying `WebViewControl.java:123: error: cannot find symbol` and `WebViewControl.java:125: error: cannot find symbol`and `WebViewControl.java:122: error: cannot find symbol` but it seemed like there wasn’t any option to fix that. So I have to keep version 33.

As you can see, It says 33.0.0 is corrupted and there is another problem saying it couldn’t determine the dependencies of task app:compileDebugJavaWithJavac.

Please help, I need to do this. It was working fine yesterday but after I was trying out unreal engine 5 and then came back(It wasn’t suited for me since I wanted to develop for 32-bit devices too) and found this. Thanks in advance

---

<div class="post-metadata">

**Author:** ![JJRV](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jjrv/32/492647_2.png) [@JJRV](https://forums.unrealengine.com/u/JJRV)\
**Post date:** [March 19, 2024, 2:00am UTC](https://forums.unrealengine.com/t/android-ue4-27-run-gradle-bat-but-with-some-messed-up-errors/1214739/2 "2024-03-19T02:00:33Z")

</div>

I´ve got just the same error. Did you find any fixes? I was working on a PSo cache with Unreal Meta fork 4.27 and tried to update the Android sdk to 34 and then all went off.

---

<div class="post-metadata">

**Author:** ![YESUS1981](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yesus1981/32/751558_2.png) [@YESUS1981](https://forums.unrealengine.com/u/YESUS1981)\
**Post date:** [May 4, 2024, 6:12pm UTC](https://forums.unrealengine.com/t/android-ue4-27-run-gradle-bat-but-with-some-messed-up-errors/1214739/3 "2024-05-04T18:12:59Z")

</div>

It was solved for me. I noticed that “Windows” blocked access to a folder or execution of a file.  
When I allowed access it was solved.
