Undefined when switching to the new version of android ndk

I am trying to upgrade from ndk-r11c to ndk-r14. When I run r14, I get an error

Android NDK: myJNI module depends on modules: png jpeg log

In my Android do: LOCAL_SHARED_LIBRARIES: = png jpeg log

+4
source share
2 answers

Assuming you did not copy the full error message and actually said "depends on undefined modules", check the release notes :

, - . , APP_ALLOW_MISSING_DEPS = true. . https://github.com/android-ndk/ndk/issues/208.

liblog LOCAL_SHARED_LIBRARIES. LOCAL_LDLIBS := -llog. , , , .

libjpeg libpng . , .

+5

, .

Windows, . - Windows .

, (, D: \), , .

0

Source: https://habr.com/ru/post/1671939/


All Articles