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: |
You can try modifying the~/Projects/MyGame/cocos2d/plugin/protocols/proj.android/jni/Application.mk
file with the following:
4 |
APP_STL := gnustl_static |