Quantcast
Channel: Questions in topic: "dllnotfoundexception"
Viewing all articles
Browse latest Browse all 201

DllNotFoundException on emulator

$
0
0
When running my application on an android device, everything works fine, but when I run it in the emulator, I get this error: DllNotFoundException: Unable to load DLL 'AndroidHostExtension': The specified module could not be found. In the code, I have this: [DllImport("AndroidHostExtension")] private static extern void unitySetEventCallbackFunction(IntPtr callbackFunction); The DLL is in the project like this: ![inproject][1] I have different files for every architecture: ![inspector][2] The emulator has the following settings: Nexus_S_API_27 CPU/ABI: Google APIs Intel Atom (x86) API level 27 For some reason it just isn't working in the emulator. When the method "unitySetEventCallbackFunction" the error is thrown. I can't figure out why. Does anyone have some guidance? Thanks. [1]: https://i.imgur.com/rWsHQy9.png [2]: https://i.imgur.com/ZW64b82.png

Viewing all articles
Browse latest Browse all 201

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>