Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

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

Open
yunusefendi52 opened this issue Dec 17, 2021 · 2 comments

Comments

@yunusefendi52
Copy link

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

@jonathanpeppers
Copy link
Member

I'm going to move this to the Google Play Services repo.

com.google.android.ump.UserMessagingPlatform is probably a missing dependency.

@jonathanpeppers jonathanpeppers transferred this issue from dotnet/android Dec 21, 2021
@moljac
Copy link
Member

moljac commented Jan 24, 2022

@yunusefendi52 Thanks for the feedback.

Notes:

https://www.nuget.org/packages/Xamarin.Google.UserMessagingPlatform/

~/Downloads/xamarin.google.usermessagingplatform.1.0.0.2 % tree -h
.
├── [1.6K]  LICENSE.md
├── [ 18K]  THIRD-PARTY-NOTICES.txt
├── [2.5K]  Xamarin.Google.UserMessagingPlatform.nuspec
├── [ 653]  [Content_Types].xml
├── [  96]  _rels
├── [ 128]  lib
│   ├── [ 128]  monoandroid90
│   │   ├── [176K]  Xamarin.Google.UserMessagingPlatform.dll
│   │   └── [ 153]  Xamarin.Google.UserMessagingPlatform.xml
│   └── [ 128]  net6.0-android31.0
│       ├── [ 63K]  Xamarin.Google.UserMessagingPlatform.dll
│       └── [ 153]  Xamarin.Google.UserMessagingPlatform.xml
└── [  96]  package
    └── [  96]  services
        └── [  96]  metadata
            └── [  96]  core-properties
                └── [ 790]  4ed6cc18b164403a9901d53588d71305.psmdcp

8 directories, 9 files

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants