# Unable to configure gradle, gradlew, android. Cannot build without configuration

**URL:** <https://forums.unrealengine.com/t/unable-to-configure-gradle-gradlew-android-cannot-build-without-configuration/480447>\
**Category:** Mobile\
**Tags:** configuration, gradle, unreal-engine, Android, question\
**Created:** [March 17, 2021, 10:17am UTC](https://forums.unrealengine.com/t/unable-to-configure-gradle-gradlew-android-cannot-build-without-configuration/480447 "2021-03-17T10:17:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyberpwn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cyberpwn](https://forums.unrealengine.com/u/cyberpwn)\
**Post date:** [March 17, 2021, 10:17am UTC](https://forums.unrealengine.com/t/unable-to-configure-gradle-gradlew-android-cannot-build-without-configuration/480447/1 "2021-03-17T10:17:10Z")

</div>

Im starting to notice the Android implementation for Unreal is very poor. I can’t build through the generated batch file which is calling gradlew (not sure why they don’t just execute gradlew). Either way, gradle is using JAVA\_HOME as an environment variable. I am unable to change this on a system level due to every other project I work on using higher than J8. For this reason, I’ve tried to add

```
org.gradle.java.home=C:\Program Files\Java\jdk1.8.0_281

```

Into the gradle.properties (it’s in the generated intermediate folder) so it gets overwritten. Basically what it means is I’m unable to configure my project unless it’s in Unreal’s project settings. I had a look there, there is no options to actually configure the gradle version, wrapper distro url, local properties, gradle properties…

Is there any way I can force unreal to use a different gradle wrapper with my own gradle properties? One size does not fit all environments, would save me hours of time if I could actually configure my projects.

---

<div class="post-metadata">

**Author:** ![Starkium](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/starkium/32/1194588_2.png) [@Starkium](https://forums.unrealengine.com/u/Starkium)\
**Post date:** [February 25, 2023, 6:23pm UTC](https://forums.unrealengine.com/t/unable-to-configure-gradle-gradlew-android-cannot-build-without-configuration/480447/2 "2023-02-25T18:23:45Z")

</div>

Did you ever find an answer to this?
