Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Can't build on Xamarin.Android #2363

Closed
Lapinou42 opened this issue Mar 12, 2020 · 4 comments
Closed

[BUG] Can't build on Xamarin.Android #2363

Lapinou42 opened this issue Mar 12, 2020 · 4 comments

Comments

@Lapinou42
Copy link

Lapinou42 commented Mar 12, 2020

Describe the bug

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2056,5): error XALNK7000: Mono.Linker.MarkException: Error processing method: 'System.Void Android.Media.RxAudioRecordEvents::<get_RoutingChanged>b__7_1(System.EventHandler1<Android.Media.AudioRecord/RoutingChangedEventArgs>)' in assembly: 'ReactiveUI.Events.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void Android.Media.AudioRecord::add_RoutingChanged(System.EventHandler1<Android.Media.AudioRecord/RoutingChangedEventArgs>)
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2056,5): error XALNK7000: at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod (Mono.Cecil.MethodReference reference) [0x00013] in <0275dd5bdfa6470181a4d79d0790489d>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2056,5): error XALNK7000: at Mono.Linker.Steps.MarkStep.MarkMethod (Mono.Cecil.MethodReference reference) [0x0004a] in <0275dd5bdfa6470181a4d79d0790489d>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2056,5): error XALNK7000: at Mono.Linker.Steps.MarkStep.MarkInstruction (Mono.Cecil.Cil.Instruction instruction) [0x00040] in <0275dd5bdfa6470181a4d79d0790489d>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2056,5): error XALNK7000: at Mono.Linker.Steps.MarkStep.MarkMethodBody (Mono.Cecil.Cil.MethodBody body) [0x000c2] in <0275dd5bdfa6470181a4d79d0790489d>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2056,5): error XALNK7000: at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00186] in <0275dd5bdfa6470181a4d79d0790489d>:0
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2056,5): error XALNK7000: at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x0001b] in <0275dd5bdfa6470181a4d79d0790489d>:0

Steps To Reproduce

Environment

  • OS: Mac OS 10.15.3 (19D76)
  • Android SDK version: 10
  • VS version: 8.4.8 (build 2)
  • ReactiveUI versions: 11.2.3 (ReactiveUI, ReactiveUI.Events, ReactiveUI.AndroidX, ReactiveUI.AndroidSupport)
@Lapinou42 Lapinou42 added the bug label Mar 12, 2020
@open-collective-bot
Copy link

open-collective-bot bot commented Mar 12, 2020

Hey @Lapinou42 👋,

Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider contributing financially.

https://opencollective.com/reactiveui

PS.: We offer priority support for all financial contributors. Don't forget to add priority label once you start contributing 😄

An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms!

@Lapinou42 Lapinou42 changed the title [BUG] Can't build on Xamarin.Droid [BUG] Can't build on Xamarin.Android Mar 12, 2020
@glennawatson
Copy link
Contributor

Try pharmacist instead of the rxui events packages. These packages are fixed to one version only while pharmacist will adapt the exact version you are using. The rxui events projects are planned to be depreciated in the future.

@Lapinou42
Copy link
Author

Thank you @glennawatson , I'm gonna to try it and let you know if it works :)

@Lapinou42
Copy link
Author

I installed Pharmacist and got this error => reactiveui/Pharmacist#119

@lock lock bot added the outdated label Jun 24, 2020
@lock lock bot locked and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants