GooglePlayServicesComponents
GooglePlayServicesComponents copied to clipboard
JAVAC0000: error: package com.google.android.ump.UserMessagingPlatform does not exist
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
.NET 6.0.100, net6.0-android31 (31.0.101-preview.11.117)
Description
I am trying to use google ad Xamarin.GooglePlayServices.Ads.Lite but having an error "JAVAC0000: error: package com.google.android.ump.UserMessagingPlatform does not exist". I also add the latest Xamarin.Build.Download (v0.11.0) as per https://discord.com/channels/732297728826277939/732297837953679412/921199813654118421
Repro project: Net6GooglePlayAdLite.zip
Steps to Reproduce
- Create net6.0-android (dotnet new android)
- Add package https://www.nuget.org/packages/Xamarin.GooglePlayServices.Ads.Lite/
- Add package https://www.nuget.org/packages/Xamarin.Build.Download/
- run
dotnet build
and see the error
Did you find any workaround?
No