在 Android 中加载 Metaio sdk 时出现此错误。我确实已加载所有本机 .so 文件并在 apk 以及项目中包含的 metaiosdk jar 中。
有趣的部分(我认为)在工具箱的底部。但为了安全起见,我包含了整个日志。
结果是成像仪尝试启动,然后应用程序崩溃并自行重启。任何帮助,将不胜感激..
07-16 23:23:32.757 30247-30628/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavutil.so 0x428a7278
07-16 23:23:32.757 30247-30628/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavutil.so' already loaded in same CL 0x428a7278
07-16 23:23:32.757 30247-30628/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libswscale.so 0x428a7278
07-16 23:23:32.757 30247-30628/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libswscale.so' already loaded in same CL 0x428a7278
07-16 23:23:32.767 30247-30628/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavcodec.so 0x428a7278
07-16 23:23:32.767 30247-30628/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavcodec.so' already loaded in same CL 0x428a7278
07-16 23:23:32.767 30247-30628/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavformat.so 0x428a7278
07-16 23:23:32.767 30247-30628/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavformat.so' already loaded in same CL 0x428a7278
07-16 23:23:32.767 30247-30628/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libswresample.so 0x428a7278
07-16 23:23:32.767 30247-30628/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libswresample.so' already loaded in same CL 0x428a7278
07-16 23:23:32.767 30247-30628/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libmetaiosdk.so 0x428a7278
07-16 23:23:32.767 30247-30628/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libmetaiosdk.so' already loaded in same CL 0x428a7278
07-16 23:23:32.807 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to find class referenced in signature (Lcom/metaio/sdk/jni/IToolboxCallback;)
07-16 23:23:32.807 30247-30628/com.test.metaioapp I/dalvikvm﹕ Could not find method com.metaio.sdk.jni.IToolboxCallback.add3DMapTrackingGeometry, referenced from method com.metaio.sdk.jni.MetaioSDKJNI.SwigDirector_IToolboxCallback_add3DMapTrackingGeometry
07-16 23:23:32.807 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to resolve virtual method 18294: Lcom/metaio/sdk/jni/IToolboxCallback;.add3DMapTrackingGeometry ()Lcom/metaio/sdk/jni/IGeometry;
07-16 23:23:32.807 30247-30628/com.test.metaioapp D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0000
07-16 23:23:32.807 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to find class referenced in signature (Lcom/metaio/sdk/jni/IToolboxCallback;)
07-16 23:23:32.807 30247-30628/com.test.metaioapp I/dalvikvm﹕ Could not find method com.metaio.sdk.jni.IToolboxCallback.onCameraCalibrationProgress, referenced from method com.metaio.sdk.jni.MetaioSDKJNI.SwigDirector_IToolboxCallback_onCameraCalibrationProgress
07-16 23:23:32.807 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to resolve virtual method 18295: Lcom/metaio/sdk/jni/IToolboxCallback;.onCameraCalibrationProgress (JF)V
07-16 23:23:32.817 30247-30628/com.test.metaioapp D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0000
07-16 23:23:32.817 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to find class referenced in signature (Lcom/metaio/sdk/jni/IToolboxCallback;)
07-16 23:23:32.817 30247-30628/com.test.metaioapp I/dalvikvm﹕ Could not find method com.metaio.sdk.jni.IToolboxCallback.onError, referenced from method com.metaio.sdk.jni.MetaioSDKJNI.SwigDirector_IToolboxCallback_onError
07-16 23:23:32.817 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to resolve virtual method 18296: Lcom/metaio/sdk/jni/IToolboxCallback;.onError (Lcom/metaio/sdk/jni/ETOOLBOX_ERROR;)V
07-16 23:23:32.817 30247-30628/com.test.metaioapp D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0004
07-16 23:23:32.817 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to find class referenced in signature (Lcom/metaio/sdk/jni/IToolboxCallback;)
07-16 23:23:32.817 30247-30628/com.test.metaioapp I/dalvikvm﹕ Could not find method com.metaio.sdk.jni.IToolboxCallback.onMapExtended, referenced from method com.metaio.sdk.jni.MetaioSDKJNI.SwigDirector_IToolboxCallback_onMapExtended
07-16 23:23:32.817 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to resolve virtual method 18297: Lcom/metaio/sdk/jni/IToolboxCallback;.onMapExtended (JJ)V
07-16 23:23:32.817 30247-30628/com.test.metaioapp D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0000
07-16 23:23:32.827 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to find class referenced in signature (Lcom/metaio/sdk/jni/IToolboxCallback;)
07-16 23:23:32.827 30247-30628/com.test.metaioapp I/dalvikvm﹕ Could not find method com.metaio.sdk.jni.IToolboxCallback.onNewMapFeature, referenced from method com.metaio.sdk.jni.MetaioSDKJNI.SwigDirector_IToolboxCallback_onNewMapFeature
07-16 23:23:32.827 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to resolve virtual method 18298: Lcom/metaio/sdk/jni/IToolboxCallback;.onNewMapFeature ()Lcom/metaio/sdk/jni/IGeometry;
07-16 23:23:32.827 30247-30628/com.test.metaioapp D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0000
07-16 23:23:32.827 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to find class referenced in signature (Lcom/metaio/sdk/jni/IToolboxCallback;)
07-16 23:23:32.827 30247-30628/com.test.metaioapp I/dalvikvm﹕ Could not find method com.metaio.sdk.jni.IToolboxCallback.onScaleOffsetCalibrated, referenced from method com.metaio.sdk.jni.MetaioSDKJNI.SwigDirector_IToolboxCallback_onScaleOffsetCalibrated
07-16 23:23:32.827 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to resolve virtual method 18299: Lcom/metaio/sdk/jni/IToolboxCallback;.onScaleOffsetCalibrated ()V
07-16 23:23:32.827 30247-30628/com.test.metaioapp D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0000
07-16 23:23:32.827 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to find class referenced in signature (Lcom/metaio/sdk/jni/IToolboxCallback;)
07-16 23:23:32.827 30247-30628/com.test.metaioapp I/dalvikvm﹕ Could not find method com.metaio.sdk.jni.IToolboxCallback.onStateChanged, referenced from method com.metaio.sdk.jni.MetaioSDKJNI.SwigDirector_IToolboxCallback_onStateChanged
07-16 23:23:32.827 30247-30628/com.test.metaioapp W/dalvikvm﹕ VFY: unable to resolve virtual method 18300: Lcom/metaio/sdk/jni/IToolboxCallback;.onStateChanged (Lcom/metaio/sdk/jni/ETOOLBOX_STATE;)V
07-16 23:23:32.837 30247-30628/com.test.metaioapp D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0004
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavutil.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavutil.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libswscale.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libswscale.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavcodec.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavcodec.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavformat.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavformat.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libswresample.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libswresample.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libmetaiosdk.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libmetaiosdk.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavutil.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavutil.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libswscale.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libswscale.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavcodec.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavcodec.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavformat.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavformat.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libswresample.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libswresample.so' already loaded in same CL 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libmetaiosdk.so 0x428a7278
07-16 23:23:32.937 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libmetaiosdk.so' already loaded in same CL 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavutil.so 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavutil.so' already loaded in same CL 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libswscale.so 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libswscale.so' already loaded in same CL 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavcodec.so 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavcodec.so' already loaded in same CL 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libavformat.so 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libavformat.so' already loaded in same CL 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libswresample.so 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libswresample.so' already loaded in same CL 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Trying to load lib /data/app-lib/com.test.metaioapp-13/libmetaiosdk.so 0x428a7278
07-16 23:23:32.947 30247-30247/com.test.metaioapp D/dalvikvm﹕ Shared lib '/data/app-lib/com.test.metaioapp-13/libmetaiosdk.so' already loaded in same CL 0x428a7278
07-16 23:23:32.967 30247-30631/com.test.metaioapp V/MediaPlayer﹕ decode(146, 0, 9520)
07-16 23:23:33.007 30247-30247/com.test.metaioapp I/SensorManagerA﹕ getReportingMode :: sensor.mType = 3
07-16 23:23:33.007 30247-30247/com.test.metaioapp D/SensorManager﹕ registerListener :: 7, MPL Orientation (android deprecated format), 20000, 0,
07-16 23:23:33.037 30247-30247/com.test.metaioapp V/MediaPlayer-JNI﹕ native_setup
07-16 23:23:33.037 30247-30247/com.test.metaioapp V/MediaPlayer﹕ constructor
07-16 23:23:33.037 30247-30247/com.test.metaioapp V/MediaPlayer﹕ setListener
07-16 23:23:33.037 30247-30247/com.test.metaioapp I/RES﹕ 2130837613
07-16 23:23:33.037 30247-30247/com.test.metaioapp V/MediaPlayer-JNI﹕ native_setup
07-16 23:23:33.037 30247-30247/com.test.metaioapp V/MediaPlayer﹕ constructor
07-16 23:23:33.047 30247-30247/com.test.metaioapp V/MediaPlayer﹕ setListener
07-16 23:23:33.047 30247-30247/com.test.metaioapp W/dalvikvm﹕ VFY: unable to find class referenced in signature (Lcom/metaio/sdk/jni/IToolbox;)
07-16 23:23:33.047 30247-30247/com.test.metaioapp E/dalvikvm﹕ Could not find class 'com.metaio.sdk.jni.IToolbox', referenced from method com.metaio.sdk.jni.MetaioSDK.CreateToolbox
07-16 23:23:33.047 30247-30247/com.test.metaioapp W/dalvikvm﹕ VFY: unable to resolve new-instance 1898 (Lcom/metaio/sdk/jni/IToolbox;) in Lcom/metaio/sdk/jni/MetaioSDK;
07-16 23:23:33.047 30247-30247/com.test.metaioapp D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0010
07-16 23:23:33.047 30247-30247/com.test.metaioapp D/dalvikvm﹕ DexOpt: unable to opt direct call 0x4775 at 0x13 in Lcom/metaio/sdk/jni/MetaioSDK;.CreateToolbox
07-16 23:23:33.057 30247-30247/com.test.metaioapp D/ProgressBar﹕ setProgressDrawable drawableHeight = 0
07-16 23:23:33.097 30247-30247/com.test.metaioapp W/metaio-java﹕ Location provider already running!
07-16 23:23:33.107 30247-30247/com.test.metaioapp E/metaio﹕ 105: IMetaioSDK::startCamera: invalid parameters
07-16 23:23:33.107 30247-30247/com.test.metaioapp E/metaio﹕ onError: 261, IMetaioSDK::startCamera: invalid parameters
07-16 23:23:33.117 30247-30247/com.test.metaioapp D/MetaioCloudPluginTemplate﹕ JunaioARViewTestActivity.onCreate()
07-16 23:23:33.157 30247-30631/com.test.metaioapp V/MediaPlayer﹕ decode(147, 0, 5194)
07-16 23:23:33.227 30247-30631/com.test.metaioapp V/MediaPlayer﹕ decode(151, 44288, 11392)
07-16 23:23:33.257 30247-30247/com.test.metaioapp I/dalvikvm-heap﹕ Grow heap (frag case) to 21.042MB for 3686416-byte allocation
07-16 23:23:33.257 30247-30247/com.test.metaioapp W/AwContents﹕ nativeOnDraw failed; clearing to background color.
07-16 23:23:33.347 30247-30247/com.test.metaioapp D/ProgressBar﹕ updateDrawableBounds: left = 0
07-16 23:23:33.347 30247-30247/com.test.metaioapp D/ProgressBar﹕ updateDrawableBounds: top = 0
07-16 23:23:33.347 30247-30247/com.test.metaioapp D/ProgressBar﹕ updateDrawableBounds: right = 720
07-16 23:23:33.347 30247-30247/com.test.metaioapp D/ProgressBar﹕ updateDrawableBounds: bottom = 6
07-16 23:23:33.347 30247-30247/com.test.metaioapp D/ProgressBar﹕ updateDrawableBounds: mProgressDrawable.setBounds()
07-16 23:23:33.347 30247-30247/com.test.metaioapp W/AwContents﹕ nativeOnDraw failed; clearing to background color.
07-16 23:23:33.577 30247-30638/com.test.metaioapp E/metaio﹕ GLSL shader program failed to link: --From Vertex Shader:
Error: varying variables do not fit in 8 vectors.
--From Fragment Shader:
Error: varying variables do not fit in 8 vectors.
07-16 23:23:33.587 30247-30638/com.test.metaioapp E/metaio﹕ GLSL shader program failed to link: --From Vertex Shader:
Error: varying variables do not fit in 8 vectors.
--From Fragment Shader:
Error: varying variables do not fit in 8 vectors.