Eclipse build error 解决方法The library '*.jar' contains native libraries that will not run on the dev

时间:2023-03-10 08:21:07
Eclipse build error 解决方法The library '*.jar' contains native libraries that will not run on the dev

[2013-08-29 16:56:58 - jarsotest] The library 'wnp.jar' contains native libraries that will not run on the device.

[2013-08-29 16:56:58 - jarsotest] The following libraries were found:

[2013-08-29 16:56:58 - jarsotest]  - bin/classes/jni/wnptest/wnpjnitest/libwnp.so

Eclipse->windows->Perferences ,

取消 Force error when external jars contain native libraries.

取消 Skip packaging and dexing until export and lunch. (Speece **)

第二种:

[2013-11-19 10:23:30 - Scantest5] The library 'xxx.jar' contains native libraries that will not run on the device.
[2013-11-19 10:23:30 - Scantest5] The following libraries were found:
[2013-11-19 10:23:30 - Scantest5]  - libs/armeabi/libaaa-jni.so
[2013-11-19 10:23:30 - Scantest5]  - libs/armeabi/libccc-jni.so

解决方法:

将build path中的导入的xxx.jar包remove掉,就可以了。