processing/processing-android

Processing android throws java.lang error when I run android mode

p4puniya opened this issue · 3 comments

Though, Android Mode is build successfully and the Processing IDE builds perfectly, I get this error every time.
image
And when I try to run any app in PDE that uses Gradle-Tooling, it gives error.
image
Also, when I try to build the Processing4, it throws error that source release 17 requires target version 17, which is resolved when I change the project's required Java version to 16 instead of 17. But it doesn't affect the above two errors.
Screenshot from 2023-07-01 04-35-19
I've tried out various versions of Java and Gradle using hit and try but none of them seem to be working. reference
Please help me resolve these issues.
P.s. I've tried to revert back the changes before last commit but it doesn't make any difference.
@codeanticode @ranaaditya

@p4puniya what version of Gradle are you using in your dev computer?

Gradle Version: 7.4.2

@p4puniya what version of Gradle are you using in your dev computer?

Hi @codeanticode and @p4puniya , i think this is due to some problem in versioning of maybe java / gradle in local system and gradle files.

Need to debug more about the version of Java and Gradle overall and also recheck the local system versions propoerly

Thanks,
Aditya