FabricPlugin icon indicating copy to clipboard operation
FabricPlugin copied to clipboard

Fabric plugin fails along with Digits plugin

Open murliatdure opened this issue 9 years ago • 7 comments

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 avatar Apr 21 '16 22:04 murliatdure

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

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

murliatdure avatar Apr 22 '16 01:04 murliatdure

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.

Justin-Credible avatar Apr 22 '16 03:04 Justin-Credible

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?

telemakhos avatar May 17 '16 21:05 telemakhos

@Telemakhos Yes, that would be the ideal solution.

Justin-Credible avatar Jun 02 '16 19:06 Justin-Credible

@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

telemakhos avatar Sep 12 '16 18:09 telemakhos

@murliatdure I am also having the same issue.

rupalpatel0008 avatar Jan 10 '17 11:01 rupalpatel0008

I am also having the same issue

stephane-segning avatar Apr 16 '19 17:04 stephane-segning