Adding Lottie to the SDK

lottie-react-native:publishMavenJavaPublicationToMavenRepository FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:lottie-react-native:publishMavenJavaPublicationToMavenRepository’.

Failed to publish publication ‘mavenJava’ to repository ‘maven’
Could not PUT ‘https://oss.sonatype.org/service/local/staging/deploy/maven2/com/airbnb/android/lottie-react-native/1.2.0/lottie-react-native-1.2.0.pom’. Received status code 401 from server: Unauthorized

ANY HELP ?!!

You seem to be trying to publish to Maven Central without credentials.

can you tell me what I need to do ?!

Well, I don’t know what you are trying to do in the first place. You’re going to need to explain that first.

I wanted to add lottie-react-native ( lottie-react-native - npm )
To the SDK and i did and it worked
But when I build the sdk this happens

But if I understand correctly i need to use the maven repository but i don’t know how

What exact steps did you follow?

Here is what you need to do to add extra dependencies: Developer Guide for Jitsi Meet | Jitsi Meet

Yes i did all this steps and it works
But when I build the SDK it gives me this error

How are you building the SDK?

With Android SDK | Jitsi Meet

What step is the one failing? Can you share the entire output when that happens?