Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Xamarin.Android.Crashlytics error: package io.fabric.sdk.android.services.events #594

Open
acaliaro opened this issue Jun 13, 2019 · 10 comments

Comments

@acaliaro
Copy link

@Redth can you take a look? Thanks

Alessandro

fabricerror.zip

@newky2k
Copy link
Contributor

newky2k commented Jun 14, 2019

@acaliaro can you be more specific on the error you are getting? is it the net core sdk error?

@newky2k newky2k added the needs-info More information is requested by engineering label Jun 14, 2019
@acaliaro
Copy link
Author

@newky2k I have installed Crashlytics in my XF projects and I have this error. I have created with VS2017 a new XF project: I install Crashlytics and I have again the error. I have attached this last project so you can take a look. Open it, rebuild it and the error should appear

@francipvb
Copy link

Hello,

Same with Visual Studio 2019 (16.3 preview 1).

I've installed Xamarin.Firebase.Core, Xamarin.Firebase.Analitics, Xamarin.Firebase.Messaging and Xamarin.Android.Crashlytics. I've set up a firebase app and a google-services.json file in the project.

Note that this occurs in a Xamarin forms app. Package 9.4.1 of Xamarin.Android.Crashlytics.

Firebase packages are version stable 71 all of them.

This is all the information I have.

Cheers,

@acaliaro
Copy link
Author

@newky2k have you some news for us? Thanks

@ilker55
Copy link

ilker55 commented Oct 8, 2019

I think it's the same as #460

@Mythikos
Copy link

I think it's the same as #460

It is, but #460 doesn't appear to have resolved the issue and was closed. I am having the exact same issue when attempting to use Xamarin.Android.Crashlytics version 2.9.4.1. The error I am receiving:
error: package io.fabric.sdk.android.services.events does not exist io.fabric.sdk.android.services.events.EventsStorageListener

Relevant Version Info:

  • Visual Studio Professional 2019 16.3.7
  • Xamarin 16.3.0.277
  • Xamarin.Android SDK 10.0.3.0

Any news on a fix for this or workarounds? The suggestions in #460 didn't resolve the issue for me.

@lngka
Copy link

lngka commented Nov 12, 2019

I experienced the same problem and this workaround worked for me:
#460 (comment)

Having Xamarin.Android.Crashlytics 2.9.4.1 installed in my Android solution, I manually installed the following dependencies :

  1. Xamarin.Android.Fabric (app compiles but runtime exception: Answers)
  2. Xamarin.Android.Crashlytics.Answers (runtime exception: Beta)
  3. Xamarin.Android.Crashlytics.Beta (runtime exception: Core)
  4. Xamarin.Android.Crashlytics.Core

@Mythikos
Copy link

@lngka I tried that exact solution and I still get the following error:
error: package io.fabric.sdk.android.services.events does not exist io.fabric.sdk.android.services.events.EventsStorageListener app1 C:\Users\vlakatos\Desktop\app1\app1\obj\Debug\90\android\src\mono\io\fabric\sdk\android\services\events\EventsStorageListenerImplementor.java 8

I tried installing the dependencies through nuget, same error. I even tried downloading the aars from google and manually placing them in the xamarin build cache, same error. I can't seem to get it working with any xamarin android projects.

@foxanna
Copy link

foxanna commented Nov 14, 2019

Apart from all the packages mentioned above, installing Xamarin.Build.Download from #460 (comment) has resolved compilation errors for me.

@lngka
Copy link

lngka commented Nov 14, 2019

@Mythikos : My problem was that another Package that I use already installed Firebase.Core package (one of the dependencies for Crashlytics)

If I install Firebase.Core explicitly, Crashlytics won't compile

@Redth Redth removed the needs-info More information is requested by engineering label Feb 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants