Android Question Updated to okhttp v1.50, now it won't compile

Num3

Active Member
Licensed User
Longtime User
I just downloaded and copied the new version of okhttp into the libraries directory and now i can't compile anymore, I get this error:

B4X:
B4A Version: 11.20
Parsing code.    (0.15s)
    Java Version: 11
Building folders structure.    (0.05s)
Running custom action.    (0.02s)
Compiling code.    (0.20s)
Compiling layouts code.    (0.01s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (0.03s)
Linking resources    (0.26s)
Compiling generated Java code.    (0.02s)
Convert byte code - optimized dex.    Error
PARSE ERROR:
unsupported class file version 53.0
...while parsing META-INF/versions/9/module-info.class
1 error; aborting

I have tried openJDK11 and JAVA8 and both give the same error. After reverting to the previous version it compiles well.

And here are the libraries i am using (okhttputils2 depends on okhttp):
Untitled.png
 
Last edited:

drgottjr

Expert
Licensed User
Longtime User
isn't it more fun to spend hours trying to find it? it's here
don't forget to unzip it into the main anywheresoftware folder (b4a --> libraries), not in your add'l libraries folders
 
Upvote 0
Top