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

Fabric plugin fails along with Digits plugin #34

Open
murliatdure opened this issue Apr 21, 2016 · 7 comments
Open

Fabric plugin fails along with Digits plugin #34

murliatdure opened this issue Apr 21, 2016 · 7 comments

Comments

@murliatdure
Copy link

cordova build android

ANDROID_HOME=/usr/local/Cellar/android-sdk/24.4.1_1
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home
Download https://maven.fabric.io/public/io/fabric/tools/gradle/1.21.6/gradle-1.21.6.pom
Download https://maven.fabric.io/public/io/fabric/tools/gradle/1.21.6/gradle-1.21.6.jar

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/.../workspace/.../android/build.gradle' line: 322

  • What went wrong:
    A problem occurred evaluating root project 'android'.

    Failed to apply plugin [id 'io.fabric']
    Cannot add extension with name 'crashlytics', as there is an extension already registered with that name.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 40.904 secs

@murliatdure
Copy link
Author

murliatdure commented Apr 22, 2016

It fails for ANDROID and with digits for iOS it works.

Individually standalone (without Digits plugin) it works fine.
Please assist on the same.

@Justin-Credible
Copy link
Contributor

I'm not sure what digits plugin you are specifically referring to, but if it is this one then your issue is probably that both of these plugins take a dependency on the Crashlytics library (see here).

I'm not sure why the digits plugin has a reference to Crashlytics. That reference would need to be removed from the digits plugin for it to work with this plugin.

@telemakhos
Copy link

telemakhos commented May 17, 2016

This also happened to me and because of hurries I had to drop the digits auth. @Justin-Credible Wouldn't make much more sense adding digits to this cordova-fabric-plugin?

@Justin-Credible
Copy link
Contributor

@telemakhos Yes, that would be the ideal solution.

@telemakhos
Copy link

@murliatdure Did you solve this? We are starting to re-explore the digits login option and I was wondering if you managed to fix this android issue...

Thanks

@rupalpatel0008
Copy link

@murliatdure I am also having the same issue.

@stephane-segning
Copy link

I am also having the same issue

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

5 participants