-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Describe the bug
When I add the xamarin android package
- Xamarin.Azure.NotificationHubs.Android (1.1.4.1)
to our xamarin forms project, and update the appropriate libraries - xamarin.googleplayservices.base (117.6.0.2)
- xamarin.firebase.messaging (122.0.0.2)
- xamarin.google.dagger (2.37.0)
Then I get the following error:
"java.exe" returned exit code 1
I'm not sure that this is the right place for this issue - but I'm a bit stuck, tried updating and downgrading various packages as recommended by the internet to no avail. I'm pretty close to giving up on Azure PN and switching to a different provider.
To Reproduce
Steps to reproduce the behavior:
- add all the below packages into a xamarin forms project
- build
Code Snippet
Our android references:
Expected behavior
I expected a descriptive error message.
Setup (please complete the following information):
- OS: Android 12 (Pixel 3)
- IDE : Visual Studio 2019
- Windows 10
- Xamarin.Azure.NotificationHubs.Android (1.1.4.1)
Additional context
I have tried making the same changes to an empty xamarin forms project and it works - so I believe there must be a dependency in our project that causes the issue. Or I could be missing something, not sure. I can't manage to replicate it outside of our project, even after spending hours adding in most of the obviously suspicious libraries listed above.