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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。