Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
p4puniya opened this issue Jun 30, 2023 · 3 comments
Open

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

p4puniya opened this issue Jun 30, 2023 · 3 comments

Comments

@p4puniya
Copy link

p4puniya commented Jun 30, 2023

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
Copy link
Member

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

@p4puniya
Copy link
Author

p4puniya commented Jul 4, 2023

Gradle Version: 7.4.2

@ranaaditya
Copy link
Member

ranaaditya commented Jul 6, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants