jvm-openai
jvm-openai copied to clipboard
using in Android project
I am trying to use jvm-openai on an Android project but I get this error while compiling:
import io.github.stefanbratanov.jvm.openai.OpenAI; ^ bad class file: C:\Users\ilker.gradle\caches\modules-2\files-2.1\io.github.stefanbratanov\jvm-openai\0.9.1\d96fe26bdb0f8aa8e23a27e0e88ae776c30cd95\jvm-openai-0.9.1.jar(/io/github/stefanbratanov/jvm/openai/OpenAI.class) class file has wrong version 61.0, should be 55.0 Please remove or make sure it appears in the correct subdirectory of the classpath.
I am not a gradle expert but a quick search shows that there is a Java JDK sompatibility issue. I could not figure out the solution Any ideas ? Or root cause of the issue ?