安卓The library '*.jar' contains native libraries that will not run on the device.

桃扇骨 2022-08-09 03:10 106阅读 0赞

编译安卓项目时出现错误:

[2015-10-08 14:05:37 - uc] The library ‘UCGameSDK-3.5.3.1.jar’ contains native libraries that will not run on the device.
[2015-10-08 14:05:37 - uc] The following libraries were found:
[2015-10-08 14:05:37 - uc] - assets/ucgamesdk/so/libsdk_bspatch.so

解决方案:

Eclipse->windows->Perferences->Android->Build,去掉右边勾选的:

Force error when external jars contain native libraries

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

清理项目,再次运行,OK。

发表评论

表情:
评论列表 (有 0 条评论,106人围观)

还没有评论,来说两句吧...

相关阅读