Hello,
Try to install
Xamarin.GooglePlayServices.Basement Nuget into your Android project
Close solution and open again
Normally it will be work
Google Firebase Service BuildAction not found
i don't see buildaction option in properties list. instead I added it directly to the .csproj file. when i run the app it crashes right away
2 answers
Sort by: Most helpful
-
cristopheB 551 Reputation points
2021-07-08T07:54:59.03+00:00 -
JarvanZhang 23,951 Reputation points
2021-07-09T06:51:33.027+00:00 Hello @QQQ ,
Welcome to our Microsoft Q&A platform!
The
GoogleServicesJson
's build type comes from theXamarin.GooglePlayServices.Basement.targets
. If your do not have installed theXamarin.GooglePlayServices.Basement
package in your project, the build action will not be available. Please install the nuget and thenGoogleServicesJson
will be available as a build type in your project.Here is a detailed explanation, please check: https://stackoverflow.com/a/42678503/11083277
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.