-
Notifications
You must be signed in to change notification settings - Fork 12
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
using in Android project #11
Comments
Hi, as per the README, you need to use Java 17, so you need to update your JDK and try building again. |
@StefanBratanov |
Open JDK 21 should work. This could be a specific android library issue. I am not exactly familiar with how android project compiles, but it could be worth googling that issue and see if you find anything. |
I tried JDK 21 again and now the error is different:
Do you have any idea on this ? |
and this one :
|
Is your Android build version 34? Have a look at https://stackoverflow.com/questions/77010447/cannot-access-record-in-android-studio |
No , I was compiling for build 33
|
I am not sure. Android development is not my strong part. The times I have used it, I remember running into many compilation issues, so it could be worth upgrading to 34 without the library to isolate the issue. |
without the library, there is no issue on either 33 or 34 |
I am not entirely sure what the problem could be. I will attempt to create a sample android project using the library and let you know if it works. |
actually I tried a lot and failed. |
I am trying to use jvm-openai on an Android project but I get this error while compiling:
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 ?
The text was updated successfully, but these errors were encountered: