Issue
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.
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:
- changing the target & min sdk at the manifest to 14
- add APP_PLATFORM := android-14 to application.mk
- clean and build.
Answered By - Dania Delbani
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.