android-ndkcocos2d-xcocos2d-x-2.x

UnsatisfiedLinkError, Cocos2D-x app crash on startup


My Cocos2D-x app is working only on android 22+ and crash in lower platforms throwing an exception java.lang.UnsatisfiedLinkError

App config:


Solution

  • Update:

    Very useful answer https://stackoverflow.com/a/27093163/3547788

    Old solution: Possible fix by changing the ndkr10 to ndkr9 then the app will work for all android versions, For NDK10: