최근 검색


최근 검색 없음

Trying to add zendesk sdk



2021년 12월 18일에 게시됨

I am trying to add the zendesk sdk to my app and seem to be getting issues

build.gradle(Project:my app)

 

buildscript {
ext.kotlin_version = '1.2.71'
repositories {
    google()
    mavenCentral()
    jcenter()
    maven { url 'https://maven.fabric.io/public' }
    maven {
        url 'https://maven.google.com/'
        name 'Google'
    }
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.0.1'
    classpath 'com.google.gms:google-services:3.0.0'
    classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0'
    classpath 'io.fabric.tools:gradle:1.+'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    classpath 'com.google.firebase:firebase-plugins:1.1.5'

}
}

allprojects {
repositories {
    google()
    mavenCentral()
    maven { url 'https://zendesk.jfrog.io/zendesk/repo' }
    jcenter()
    maven { url "http://files.couchbase.com/maven2/" }
}
}

build.gradle (Module: MyModule)

buildscript {
repositories {
    mavenCentral()
}

}
repositories {
mavenCentral()
maven { url 'http://files.couchbase.com/maven2/' }
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://jitpack.io' }
jcenter()

flatDir {
    dirs 'libs'
}
}

dependencies {
   ...
   implementation 'com.zendesk:sdk:1.11.0.1'
}

im trying to change implementation 'com.zendesk:sdk:1.11.0.1' to 'com.zendesk:support:3.0.1' to get to add the zendesk live chat to my public analytical app.

I either get cannot resolve com.zendesk:support:3.0.1 or AAPT2 error about it not being able to mergeResources.


0

1

댓글 1개

image avatar

Eric Nelson

Zendesk Developer Advocacy

Hi there, 

It looks like you're missing the repository in your dependencies list. We discuss adding that here.

Let us know if you have any other issues!
 

0


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물