other shared library existing for various ARM versions and extensions.
I have to switch which one to use at runtime. My Android.mk is simple:
LOCAL_MODULE := player
LOCAL_SRC_FILES := some_cpp_sources...
LOCAL_LDFLAGS := -L$(LOCAL_PATH)/../bin
LOCAL_LDLIBS := -llog -lz -lm –lplayer_engine
LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
The problem is:
- I have to specify the native library (player_engine) - which the
main library depends on, at the link time
- I have more versions of the player_engine library
- Libraries must have same names; otherwise I would need to specify
all of them in the Android.mk script which would lead to
UnsatisfiedLinkError exceptions when trying to load only the correct
one according to the ARM version and extension
Build script creates only armeabi and armeabi-v7a subfolders in the
libs folder, any other manually created subfolder is deleted once the
apk is created.
How to solve this problem?
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.