最近搜索


没有最近搜索

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


请先登录再写评论。

找不到所需的内容?

新建帖子