GooglePlayServicesComponents icon indicating copy to clipboard operation
GooglePlayServicesComponents copied to clipboard

JAVAC0000: error: package com.google.android.ump.UserMessagingPlatform does not exist

Open yunusefendi52 opened this issue 2 years ago • 2 comments

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

  1. Create net6.0-android (dotnet new android)
  2. Add package https://www.nuget.org/packages/Xamarin.GooglePlayServices.Ads.Lite/
  3. Add package https://www.nuget.org/packages/Xamarin.Build.Download/
  4. run dotnet build and see the error

Did you find any workaround?

No

Relevant log output

msbuild.binlog.zip

yunusefendi52 avatar Dec 17 '21 02:12 yunusefendi52