[DllImport] for 64-bit library fails #3113
Labels
Area: Mono Runtime
Mono-related issues: BCL bugs, AOT issues, etc.
bug
Component does not function as intended.
Milestone
Steps to Reproduce
Related to #3096
It uses:
I'm not seeing it look for
'/system/lib64/libc.so'
?This seems to be occurring with xamarin-android/master. So it might be caused from mono-2019-02?
VS 2019 16.1 we just shipped (using mono-2018-08) is working fine. I was able to copy
mscorlib.dll
+libmonosgen-2.0.so
from 16.1 into my master build tree to solve the issue.I also checked an Int Preview build for 16.2 (using mono-2018-10), and it seems to work.
Expected Behavior
[DllImport]
for 64-bit libraries should load on 64-bit devices/emulators.Actual Behavior
I get a crash trying to
[DllImport]
a 64-bit library on a 64-bit device.Version Information
It happens with xamarin-android/master using mono-2019-02.
Log File
I included
adb.txt
in the zip above, but the relevant section is:The text was updated successfully, but these errors were encountered: