When running Android source code there is frequently an error message that says the user needs to install a later version of Gradle. How do we do that; where does it go?
Hi AI answer
On Windows:
- Go to:
C:\Users\YourUsername\Documents\Processing\android\mode\gradle\wrapper
- (or where Processing is installed, e.g.,
C:\Program Files\Processing\android\mode\gradle\wrapper
)
- (or where Processing is installed, e.g.,
On macOS:
- Go to:
/Applications/Processing.app/Contents/Java/modes/android/gradle/wrapper
(or~/Documents/Processing/android/mode/gradle/wrapper
if installed in user space)
On Linux:
- Check:
/usr/local/processing/android/mode/gradle/wrapper
or
~/processing/android/mode/gradle/wrapper
1 Like
I’m going to try it; thank you very much.
Addendum:
It’s not quite where AI said it would be; sometimes things get moved from one version to the next. I found gradle-wrapper.jar buried at the following URL on my operating system (macOS M2):
Documents/Processing/modes/AndroidMode/mode/gradlew/gradle/wrapper/gradle-wrapper.jar. According to accompanying file it is version 7.4.1. Had no luck finding it in the app bundle.
1 Like