TobiasBuchholz / Plugin.Firebase

Wrapper around the native Android and iOS Firebase Xamarin SDKs
MIT License
211 stars 49 forks source link

The type or namespace name 'Android' does not exist in the namespace 'Plugin.Firebase.Core' #160

Closed BertHeesakkers closed 1 year ago

BertHeesakkers commented 1 year ago

I'm trying to set up a clean, new MAUI project following the steps laid out on the Github page.

Unfortunately, I can't get it to compile. As soon as I have added to code to initialize the plugin ("Initialize the plugin in your MauiProgram.cs like this") the project no longer compiles. The error I get is:

The type or namespace name 'Android' does not exist in the namespace 'Plugin.Firebase.Core'

This happens in Visual Studio 2022, JetBrains Rider, on Windows, on Mac, I've no idea what I'm doing wrong.

Any help is appreciated.

TobiasBuchholz commented 1 year ago

Hi @BertHeesakkers, could you share what you've done to resolve this issue since there is already a duplicate #138, maybe your solution helps others as well. Thank you! :)