This message was deleted.
# community-support
s
This message was deleted.
v
Can you share a build
--scan
?
y
Copy code
<https://scans.gradle.com/s/3ihmjynce7sck>
There is some issue with lottie-react-native only
v
But that's not the error you posted. With that there is
Could not set unknown property 'classifier' for task 'lottie react nativeandroidJavadocsJar' of type org.gradle.api.tasks.bundling.Jar.
And that just means that
lottie-react-native
is not compatible with that Gradle version
y
react-native run android gives the error I posted actually
v
That
Jar#classifier
was removed in Gradle 8, so either way you cannot use
lottie-react-native
at least in the version you try to.
Can you share a build scan where that other error happens?
y
Copy code
<https://gradle.com/s/ihi2lzymfv25i>
v
Yeah, there is Gradle 7.6.3 used, so the
lottie-react-native
still works.
y
So what is the issue. How can I resolve it
v
But now probably the
payments_sdk
still is not compatible with that Gradle version I guess
y
One of the other colleague is using 7.6.3 and its working for him.
We are working on same project
v
Hm, can that colleague also generate a build
--scan
, maybe you can then have a look what is different
y
My colleageue build scan
Probably I have installed gradle 8 so java toolchain get installed
I need to remove java toolchain. But I son't know how to do it.
v
What Gradle you installed where is absolutely irrelevant. The error means that some build is using the JVM toolchains feature while at the same time configuring source- / targetCompatibility on project level which is not allowed.
A difference between your build and your colleagues build is, that in your build there is the project
react-native-fs
while in his build it is not present.
Another difference is, that he is using Java 11 while you are using Java 17
y
Oh okay thanks
m
Hi @all
I am getting this error
Could you please help in this case if any one can
v
You should start your own thread next time instead of posting to an unrelated thread. But well, the message is quite clear, isn't it? You are using a Java 8 toolchain and try to target Java 11, which cannot work.
This is most probably because
@react-native-firebase/app
requires that you run Gradle with at least Java 11 but you are running Gradle with Java 8
m
Alright Thanks