Reputation: 826
My Cocos2D-x app is working only on android 22+ and crash in lower platforms throwing an exception java.lang.UnsatisfiedLinkError
App config:
Target SDK version 22 (Android Lollipop).
Min SDK is 14.
NDK r10c with eclipse.
Upvotes: 2
Views: 2401
Reputation: 826
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:
Upvotes: 3
Reputation: 122391
Well you decide on the minimum version of Android to support and your game is then expected to run on all versions from that version to the latest version.
You cannot, for example, decide to support 2.3, 4.0.4 and 5.0.1, but not 4.4.2 and 5.0.
See <uses-sdk>
reference.
Upvotes: 0