processing / processing-android

Processing mode and core library to create Android apps with Processing
http://android.processing.org
779 stars 292 forks source link

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

Open p4puniya opened 1 year ago

p4puniya commented 1 year ago

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

codeanticode commented 1 year ago

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

p4puniya commented 1 year ago

Gradle Version: 7.4.2

ranaaditya commented 1 year ago

@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