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

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  

你可能感兴趣的:(java.lang.UnsatisfiedLinkError: dlopen failed:unknown reloc type 160)