android - Unable to load libavcodec -
i've compiled ffmpeg on ubuntu using gcc-arm-linux-androideabi
, ndk
, copied resulting directories android project (jni) on windows. in android make file, i've declared following:
local_path := $(call my-dir) ffmpeg_dir := ffmpeg include $(clear_vars) local_module =: libavcodec local_src_files := $(ffmpeg_dir)/lib/$(local_module).a local_export_c_includes := $(local_path)/include include $(prebuilt_static_library)
the project builds fine, call system.loadlibrary("libavcodec")
, following exception gets thrown:
unsatisfiedlinkerror [...] findlibrary returned null [...]
what wrong in here?
edit
i noticed make
returned following:
make.exe: nothing done `all'.
what mean?
Comments
Post a Comment