unity 版本:5.5.1
sdk 版本:2.0.0
sdk示例里的HelloAR,在android手机里可以正常运行。但是当发到Epson眼镜BT-350上运行的时候,就没有任何反应,查看日志,输出的是:
07-25 02:30:15.240: I/Unity(5608): AndroidJavaException: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/cn.easyar.samples.unity.helloar-2/base.apk"],nativeLibraryDirectories=[/data/app/cn.easyar.samples.unity.helloar-2/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libEasyAR.so"
07-25 02:30:15.240: I/Unity(5608): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/cn.easyar.samples.unity.helloar-2/base.apk"],nativeLibraryDirectories=[/data/app/cn.easyar.samples.unity.helloar-2/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libEasyAR.so"
07-25 02:30:15.240: I/Unity(5608): at java.lang.Runtime.loadLibrary(Runtime.java:366)
07-25 02:30:15.240: I/Unity(5608): at java.lang.System.loadLibrary(System.java:988)
07-25 02:30:15.240: I/Unity(5608): at cn.easyar.engine.EasyAR.loadLibraries(EasyAR.java:233)
07-25 02:30:15.240: I/Unity(5608): at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
07-25 02:30:15.240: I/Unity(5608): at com.unity3d.player.UnityPlayer.a(Unknown Source)
07-25 02:30:15.240: I/Unity(5608): at com.unity3d.player.UnityPlayer$b$1.handleMessage(Unknown Source)
07-25 02:30:15.240: I/Unity(5608): at android.os.Handler.dispatchMessage(Handler.java:98)
07-25 02:30:15.240: I/Unity(5608): at android.os.Looper.loop(Looper.java:135)
07-25 02:30:15.240: I/Unity(5608): at
07-25 02:30:15.278: E/Unity(5608): Require Initialize!
可是那个“libEasyAR.so”就在Plugins\Android\libs\armeabi-v7a里面。为何异常提示找不到呢?
这是为什么?