1

I have this Cross-platform application that deploys fine on both iOS and Android physical devices, but when I try to run it on Android emulator I get this error:

Failed to dlopen Mono runtime from /data/user/0/it.HangoverApp.Hangover/files/.override/links/libmonosgen-2.0.so: dlopen failed: "/data/app/Mono.Android.DebugRuntime-33RyZeuaossylXX2LQhf0w==/lib/x86/libmonosgen-32bit-2.0.so" has unexpected e_machine: 3 (EM_386)

I'm currently on Visual Studio Mac 8.8.7, my colleague on Windows is experiencing no problems, Emulated Device configuration: Pixel 2 Pie 9.0 - API 28, x86 processor.

Any ideas?

7
  • What version is your mac ? Commented Feb 8, 2021 at 2:49
  • MacBook Pro mid 2014 10.15.7 Catalina Commented Feb 9, 2021 at 10:29
  • 1
    please check Supported Architectures contains x86, about specifying Supported Architectures, please take a look:learn.microsoft.com/en-us/xamarin/android/app-fundamentals/… Commented Feb 10, 2021 at 6:44
  • That fixed for me! But isn't x86 deprecated? Commented Feb 10, 2021 at 13:55
  • now you solved your problem? Commented Feb 11, 2021 at 5:02

1 Answer 1

2

According to your description and error message, I suggest you can check Supported Architectures contains x86, about specifying Supported Architectures, you can take a look this thread:

https://learn.microsoft.com/en-us/xamarin/android/app-fundamentals/cpu-architectures?tabs=macos#how-to-specify-supported-architectures

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.