牵着老婆满街逛

严以律己,宽以待人. 三思而后行.
GMail/GTalk: yanglinbo#google.com;
MSN/Email: tx7do#yahoo.com.cn;
QQ: 3 0 3 3 9 6 9 2 0 .

java.lang.UnsatisfiedLinkError: dlopen failed:unknown reloc type 160

from:
http://developer.adca.sh/article/plugins-android/cocos/1-0-0-cocos/cocos2d-x/

In case you set up your environment with another version of NDK than the recommended one (r9d) and got an error on launching the app:

1 java.lang.UnsatisfiedLinkError: dlopen failed:
2         unknown reloc type 160

You can try modifying the~/Projects/MyGame/cocos2d/plugin/protocols/proj.android/jni/Application.mkfile with the following:

1 # from:
2 APP_STL := c++_static
3 # to:
4 APP_STL := gnustl_static  

posted on 2016-02-25 13:28 杨粼波 阅读(1741) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理