Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.60 Android build error #10

Open
KustovLex opened this issue Aug 23, 2019 · 10 comments
Open

0.60 Android build error #10

KustovLex opened this issue Aug 23, 2019 · 10 comments

Comments

@KustovLex
Copy link

If I run "react-native run-android" after "yarn add react-native-zendesk"

  • What went wrong:
    Could not determine the dependencies of task ':app:preDebugBuild'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not find com.zendesk:support:2.0.0.

How configurate settings?

@raldred
Copy link
Contributor

raldred commented Oct 15, 2019

You need to configure a few extra things for the SDK
https://developer.zendesk.com/embeddables/docs/android-support-sdk/sdk_add

@dcvz
Copy link
Owner

dcvz commented Nov 5, 2019

I believe this has been fixed now with version 2.1.0 thanks to @raldred :)

@marciok
Copy link

marciok commented Nov 15, 2019

Having the same issue with android.

@raldred
Copy link
Contributor

raldred commented Nov 15, 2019

@marciok are you definitely using the latest build? This has been fixed.

@jitish2
Copy link

jitish2 commented Dec 12, 2019

Facing the same issue with Latest version 2.0.1. Showing "Could not find com.zendesk:support:3.0.1."

@raldred
Copy link
Contributor

raldred commented Dec 12, 2019 via email

@jitish2
Copy link

jitish2 commented Dec 13, 2019

@raldred Sorry I wrote wrong. It was 2.1.0.

@gurglet
Copy link

gurglet commented Dec 13, 2019

I couldn't get the build running without adding the Zendesk maven url to my global build.gradle like this:

allprojects {
    repositories {
        mavenLocal()
        maven { url("$rootDir/../node_modules/react-native/android") }
        maven { url("$rootDir/../node_modules/jsc-android/dist") }
        google()
        jcenter()
        maven { url 'https://zendesk.jfrog.io/zendesk/repo' }
    }
}

@rafaelbpa
Copy link

@gurglet tried you solution, but still the same error of @jitish2 . It says can't find the com.zendesk:support:3.0.1

anyone can help?

@rafaelbpa
Copy link

rafaelbpa commented Apr 15, 2020

@gurglet seems like my maven is not searching in the zendesk repo to download the files, but I put the url on the repositories list... Am I missing something?

repositories {
    google()
    jcenter()
    maven { 
        url 'https://jitpack.io'
     }
    maven {
        url 'https://maven.fabric.io/public'
    }
    maven { 
        url 'https://zendesk.jfrog.io/zendesk/repo'
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants