Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

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

Open
veetowner opened this issue Mar 21, 2017 · 1 comment

Comments

@veetowner
Copy link

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
Copy link

hannesa2 commented Oct 7, 2019

did you found the solution ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants