Kommunicate-io / Kommunicate-Cordova-Ionic-PhoneGap-Chat-Plugin

Kommunicate plugin for Ionic/Phonegap/Cordova
BSD 3-Clause "New" or "Revised" License
21 stars 15 forks source link

Could not find io.kommunicate.sdk:kommunicateui:2.3.8. #35

Closed sushantadita closed 2 years ago

sushantadita commented 2 years ago

I am using ionic 6 getting error Execution failed for task ':app:processDebugMainManifest'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find io.kommunicate.sdk:kommunicateui:2.3.8. Searched in the following locations:

Please help me

amntoppo commented 2 years ago

If using Gradle 6.7 or lower, add the following code to your root build.gradle file:

allprojects {
    repositories {
        maven { url 'https://kommunicate.jfrog.io/artifactory/kommunicate-android-sdk' }
    }
}

Copy If using Gradle 6.8 or higher, add the following to your settings.gradle file:

dependencyResolutionManagement {
    repositories {
        maven { url 'https://kommunicate.jfrog.io/artifactory/kommunicate-android-sdk' }
    }
}
sushantadita commented 2 years ago

This is not working , facing same issue

GauravDadhich13 commented 2 years ago

getting same error please give the solution asap

amntoppo commented 2 years ago

In your build.gradle file, check if you have these dependencies:

google()
mavenCentral()

If that does not resolve your issue, please share the build.gradle file