Skip to content

Gradle Build Failed #4922

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.

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

Solution by - @adhiamboperes

Edited to add: looks like …

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
11 replies
@MohitGupta121
Comment options

@InquisitiveCatherine
Comment options

@MohitGupta121
Comment options

@MohitGupta121
Comment options

Answer selected by adhiamboperes
@InquisitiveCatherine
Comment options

@jkugsiya
Comment options

@adhiamboperes
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants