Forum Xamarin.Android

I didn't find "GoogleServices.Json" in the Build Action?

I'm trying to add firebase in my project and "GoogleServices.Json" in the Build Action?


  • YelinzhYelinzh Member, Xamarin Team Xamurai

    How to add the Google Services JSON file:

    • Copy google-services.json to the project folder.
    • Add google-services.json to the app project (click Show All Files in the Solution Explorer, right click google-services.json, then select Include in Project).
    • Select google-services.json in the Solution Explorer window.
    • In the Properties pane, set the Build Action to GoogleServicesJson.

    If the GoogleServicesJson build action is not shown, save and close the solution, then reopen it.


  • abcr_1abcr_1 Member ✭✭
    edited December 2020

    Saved, closed, reopened - still no GoogleServicesJson Build action shown. What then? Am I missing any extensions in VS? - Update:
    Install Xamarin.GooglePlayServices.Basement Nuget into your Android project and then close and open the solution. You will find the option now.

Sign In or Register to comment.