Loading of DLL in Android 14 is not working

Hello,

I’m facing some problems in the recently released Android (version 14) I’m not able anymore to load DLL (dynamic link libraries).

In the past on Android 13 I used this Assembly.LoadFile Method (System.Reflection) | Microsoft Learn but with Android 14 I get an error and I assume it’s due to increased security policy on new OS.

I tried to make the dll read-only but I received same error.

Does anybody knows how I can load dll in new version of Android?

1 Like