Skip to content

Error while building project. #4984

Discussion options

You must be logged in to vote

This issue is related to our use of jetifier currently. I believe it will be resolved with the upcoming build platform changes, but to explain a bit:

In gradle.properties, android.enableJetifier=true automatically converts third-party libraries to use AndroidX.
The maximum supported major version for jetifier class file format in Android is 58, which corresponds to Java 14.
The model.jar was compiled with Java 15/major version 59, hence the incompatibility.

A fix would be to compile the JAR file with a lower version of Java.

@jkugsiya can you please check using https://developer.android.com/studio/intro/studio-config#jdk.

looks like you're using JDK 15--this isn't supported with our versi…

Replies: 5 comments 13 replies

Comment options

You must be logged in to vote
3 replies
@jkugsiya
Comment options

@adhiamboperes
Comment options

@jkugsiya
Comment options

Comment options

BenHenning
May 17, 2023
Maintainer Sponsor

You must be logged in to vote
4 replies
@jkugsiya
Comment options

@MohitGupta121
Comment options

Answer selected by MohitGupta121
@yimello908
Comment options

@MohitGupta121
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@MohitGupta121
Comment options

Comment options

You must be logged in to vote
5 replies
@adhiamboperes
Comment options

@Tejas-67
Comment options

@adhiamboperes
Comment options

@Tejas-67
Comment options

@adhiamboperes
Comment options

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