android-eye icon indicating copy to clipboard operation
android-eye copied to clipboard

Error:(687) Android NDK: Module MediaEncoder depends on undefined modules: cutils gnustl dl

Open veetowner opened this issue 8 years ago • 1 comments

I convert this project into android studio. however, i kept getting the error when building this project:

Error:(687) Android NDK: Module MediaEncoder depends on undefined modules: cutils gnustl dl

This is what is in the Android.mk. I am new to NTK, anybody can advise the issue here?

building application library

include $(CLEAR_VARS) LOCAL_MODULE := libMediaEncoder LOCAL_CPP_EXTENSION := .cc .cpp LOCAL_CPPFLAGS := -O2 -Werror -Wall LOCAL_C_INCLUDES := $(MY_LOCAL_PATH) LOCAL_SRC_FILES := main_jni.cpp
h264encoder.cpp
g72x/g726_32.c
g72x/g711.c
g72x/g72x.c

LOCAL_LDLIBS += -llog -lz LOCAL_SHARED_LIBRARIES := libcutils
libgnustl
libdl

veetowner avatar Mar 21 '17 02:03 veetowner

did you found the solution ?

hannesa2 avatar Oct 07 '19 07:10 hannesa2