c++ - Unity3d Android plugin issues -
When I try to access my shared library from the Unity Android player, I'm having a DllNotFoundException I can see Assets- & gt; Plugins-> Android files placed in the folders on which the article told me. I ran the adb logcat and saw the log and here is a piece of error:
e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate d / dalvikvm (27320): try to load unable to find lib /data/data/com.pheenixstudios.tankraigearena/lib/libwinsocklib.so 0x419ccfd0 e / Integration (27320): winsocklib D / dalvikvm (27320): try to load lib /data/data/com.pheenixstudios Has been doing. tankraigearena / lib / libwinsocklib.so 0x419ccfd0 E / Integration (27320): winsocklib unable to find D / dalvikvm (27320): load lib /data/data/com.pheenixstudios.tankraigearena/lib/libwinsocklib.so 0x419ccfd0 E / Integration trying to (27320): unable to find the e winsocklib / (532): inv_get_mag_rate e / (532): Inv_get_mag_rate e / (532): Inv_get_mag_rate e / (532): Inv_get_mag_rate e / (532): Inv_get_mag_rate e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate e / ( 532): inv_get_mag_rate e / (532): inv_ge T_mag_rate e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate e / (532): inv_get_mag_rate I / Unity (27320): DllNotFoundEx Ception: winsocklib I / Unity 27320): (Cover-managed-to-native) networkfone: dllInit () I / Unity (27320): On Android Networks Controller Start () [0x00000] & lt; Filename Unknown & gt ;: 0 I created an APK and the winsocklib.so file is in the lib \ armeabi-v7a folder, it is spelled correctly. I tried to not take advantage of Lib's name in the name of the file.
Here is the C # code for additional reference:
[DllImport ( "winsocklib", Colingsnchar = Colingsnchar. Seedisiel, Antrypoint = "dllInit")] public static extern Double dllInit (); I also made it simple to:
[DllImport ("winsocklib")] public static deportation double dllInit (); In addition, I have made a copy and placed it in Assets-> Plugins. I tried to rename both libwinsocklib names without changing the code. Exception only.
Do anyone have any ideas? Can anyone put some light on this situation?
Detected this problem I was using a Lib Build with Linux ABI, Android ABI No. Lib Now works.
Comments
Post a Comment