You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have attempted to build this repo on three different gradle versions: 7.2, 8.02 and 8.2; all display the following error:
Could not open settings generic class cache for settings file 'C:\Users\[censored directory]\tensorflow-lite-examples-android\settings.gradle' (C:\Users\Thomas\.gradle\caches\7.2\scripts\dzuajkbvb0k1mlebelr004mld).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64
Using the --debug or --stacktrace shows a lot of console spam, but a similar message on the error line:
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 64
Is this a problem with the framework or environment variables, or does it only work on a specific gradle version?
Thanks
The text was updated successfully, but these errors were encountered:
Update: Downgrading Java SDK versions several times later I got a different error at Java 11.0.19:
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\[censored directory]\tensorflow-lite-examples-android\example-model-personalization\build.gradle' line: 65
* What went wrong:
A problem occurred evaluating project ':example-model-personalization'.
> Cannot set the value of read-only property 'force' for DefaultExternalModuleDependency{group='org.tensorflow', name='tensorflow-lite-select-tf-ops', version='2.8.0', configuration='default'} of type org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency.
@thomas-xin I was using Java 1.8 to compile this project. But, it seems a bit old. I just have finished upgrade work my project DevBricksX-Android. This project heavily depends on that project. So, I am going to update this one to compile with Java 17.
Hi,
I have attempted to build this repo on three different gradle versions: 7.2, 8.02 and 8.2; all display the following error:
Using the --debug or --stacktrace shows a lot of console spam, but a similar message on the error line:
Is this a problem with the framework or environment variables, or does it only work on a specific gradle version?
Thanks
The text was updated successfully, but these errors were encountered: