首页 > 代码库 > Eclipse build error 解决方法The library '*.jar' contains native libraries that will not run on the dev

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掉,就可以了。

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