Amit Kava
Amit Kava

Reputation: 694

Firebase.Xamarin is not compatible with monoandroid81

I want to add firebase realtime database in my application but when I add a library for Firebase.Xamarin, it gives the error like

Severity Code Description Project File Line Suppression State Error Package Firebase.Xamarin 0.3.6 is not compatible with monoandroid81 (MonoAndroid,Version=v8.1). Package Firebase.Xamarin 0.3.6 supports: net (.NETFramework,Version=v0.0) 0

how can I solve this error, I tried to change the target version of application but it is not working. Please help me to solve this error.

enter image description here

Upvotes: 5

Views: 3461

Answers (4)

JorgeVazquez
JorgeVazquez

Reputation: 26

In my case the problem was with the cache of the nuget packages, for cleaning this cache, you have to go to "Tools>Options>Manage Nuget Packages> Clean Cache

Upvotes: 1

user10160492
user10160492

Reputation:

I found the proper answer by adding the Xamarin.Firebase library instead of Firebase.Xamarin because Firebase.Xamarin is not official library.

enter image description here

Upvotes: -1

Amit Kava
Amit Kava

Reputation: 694

I found the proper answer by adding the Xamarin.Firebase library instead of Firebase.Xamarin because Firebase.Xamarin is not official library.

enter image description here

Upvotes: 1

Cheesebaron
Cheesebaron

Reputation: 24470

You are trying to install Firebase.Xamarin which is published by an author named Ricardo. What you are probably looking for is the official packages published by Xamarin.

In this case they all start with Xamarin.Firebase.

Upvotes: 2

Related Questions