Teaonly / android-eye

Change your android phone to surveillance camera
Other
1.08k stars 492 forks source link

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

Open veetowner opened 7 years ago

veetowner commented 7 years ago

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

hannesa2 commented 4 years ago

did you found the solution ?