zoho / SalesIQ-Mobilisten-ReactNative

Your mobile app's ideal live chat partner. Power up your mobile App with the SalesIQ Mobilisten SDK for React-Native.
https://mobilisten.io/
8 stars 12 forks source link

Could not find com.zoho.salesiq:mobilisten:8.0.5. #104

Closed Tarun24RN closed 1 month ago

Tarun24RN commented 1 month ago

Could not determine the dependencies of task ':app:mergeDevelopmentDebugNativeLibs'.

Could not resolve all task dependencies for configuration ':app:developmentDebugRuntimeClasspath'. Could not find com.zoho.salesiq:mobilisten:8.0.5. Searched in the following locations:

bhahirathan-mb-11956 commented 1 month ago

Duplicate of #86, #66 .

Tarun24RN commented 1 month ago

repositories { google() mavenCentral() maven { url 'https://maven.zohodl.com' } } I have put url in the repositories object, there is no such code which you have provided in your earlier solutions allprojects { repositories { .... maven { url 'https://maven.zohodl.com' } .... } } in my build.gradle.

bhahirathan-mb-11956 commented 1 month ago

Hi @Tarun24RN

Since Gradle 7.0, it's recommended to use the dependencyResolutionManagement block in settings.gradle for managing project dependencies.

So if your project uses android/settings.gradle, please use the below sample snippet:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        // Add the Zoho Maven URL here
        maven { url 'https://maven.zohodl.com' }
    }
}

Else if your project uses android/build.gradle, please use the below sample snippet:

buildscript {
      // Define classpath dependencies or plugins
}
allprojects {
    repositories {
      // Default repositories for dependencies
      google()
      mavenCentral()
      // Add the Zoho Maven URL here
      maven { url 'https:/
        /maven.zohodl.com' }

    }
}

I hope this helps. If you have any other queries, please write us at support@zohosalesiq.com. We will be happy to help with this case.