Reputation: 43
I am having an issue in my Xamarin Android project, where I'm getting a NullPointerException: 'Firebase Database component is not present'. I have recently picked up on Xamarin Android hence my knowledge is a bit limited.
The following image is a code snippet from a static Helper class, called in an EventListener class.
Any help regarding this issue? Also all dependencies are upto date.
Upvotes: 0
Views: 78
Reputation: 43
So after long search, I just decided to update my Visual Studio and android SDK, and the issue was no more
Upvotes: 1
Reputation: 159
Seems like Google has changed the SDK and you need to add some things to AndroidManifest.xml
. Check this SO answer for the lines you need to add.
Credit to silverFoxA for the solution.
Upvotes: 0