# Android Gradle plugin Upgrade

**URL:** <https://discourse.processing.org/t/android-gradle-plugin-upgrade/41744>\
**Category:** Processing for Android\
**Created:** [April 17, 2023, 3:43pm UTC](https://discourse.processing.org/t/android-gradle-plugin-upgrade/41744 "2023-04-17T15:43:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [April 17, 2023, 3:43pm UTC](https://discourse.processing.org/t/android-gradle-plugin-upgrade/41744/1 "2023-04-17T15:43:37Z")

</div>

The following suggestion is made when I compile in Android mode with Processing 4.2. How would I upgrade the plugin?

 ![gradle](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/6/d/6d8c6c4b6418bfd396865e85a0cca407f3353068.png)

---

<div class="post-metadata">

**Author:** ![markcosmic](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@markcosmic](https://discourse.processing.org/u/markcosmic)\
**Post date:** [April 17, 2023, 4:02pm UTC](https://discourse.processing.org/t/android-gradle-plugin-upgrade/41744/2 "2023-04-17T16:02:06Z")

</div>

I have the same question. Processing 4 and Processing 3 for Android can no longer complete a build. This has been going on for a while. I was glad that Processing 4 for android was working finally, but a few weeks back it stopped working. I switched back to Processing 3 for android and that was working until a few days ago. I do have AS installed and had no luck after doing updates. AS has a new update for Gradle to 8.0. Processing does not use the AS Gradle and will install it’s own version. I haven’t found where Processing installs Gradle. I’m pretty sure it isn’t installed where AS installs Gradle. That’s it for now. I’ll keep looking and post a solution, when I find one.  
Edit:  
I did find that Processing does install Gradle in the same folder as AS: c:\user\username.gradle. If you delete this folder both Processing and AS will reinstall it.

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [April 17, 2023, 5:04pm UTC](https://discourse.processing.org/t/android-gradle-plugin-upgrade/41744/3 "2023-04-17T17:04:07Z")

</div>

Wouldn’t surprise me that Processing is coupled with Android Studio. I checked and my AS uses gradle 8.0 so I don’t know what Processing is complaining about if it’s true that they are connected. Thanks for the input.
