# Gradle build error

**URL:** <https://forum.ionicframework.com/t/gradle-build-error/215285>\
**Category:** Ionic Angular\
**Created:** [September 22, 2021, 11:52am UTC](https://forum.ionicframework.com/t/gradle-build-error/215285 "2021-09-22T11:52:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![this\_is\_gurpinder](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/this_is_gurpinder/32/138362_2.png) [@this\_is\_gurpinder](https://forum.ionicframework.com/u/this_is_gurpinder)\
**Post date:** [September 22, 2021, 11:52am UTC](https://forum.ionicframework.com/t/gradle-build-error/215285/1 "2021-09-22T11:52:11Z")

</div>

![Screenshot 2021-09-22 172035](https://global.discourse-cdn.com/ionicframework/original/3X/b/5/b5414cee7658af0571b99e4cae0c6a4aa77ef7e4.png)

after running command ionic cap run android -l --external

i think this is a gradle version error

please help me dear @mhartington

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [September 22, 2021, 12:20pm UTC](https://forum.ionicframework.com/t/gradle-build-error/215285/2 "2021-09-22T12:20:41Z")

</div>

1. You do not need to @ me. I will see the post.

2. The error message is right in the output.

> “Android Gradle plugins requires Java 11 to run. You are currently using Java 1.8.”

You need to update your java version.

---

<div class="post-metadata">

**Author:** ![ciccilleju](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ciccilleju/32/135142_2.png) [@ciccilleju](https://forum.ionicframework.com/u/ciccilleju)\
**Post date:** [November 25, 2021, 9:39am UTC](https://forum.ionicframework.com/t/gradle-build-error/215285/3 "2021-11-25T09:39:07Z")

</div>

did you solve it? i’m having the same issue
