Skip to content

Jni build error #5

@DongHyunKo

Description

@DongHyunKo

Hi
I'm try to these tutorial. I built ffmpeg without problems.
But when i build jni with ndk-build, under error occured.

ndk-build
Android NDK: /Users/dhko/android/android-ndk-r9d/sources/ffmpeg-2.0.1/android/arm/Android.mk:tutorial01: LOCAL_MODULE_FILENAME should not include file extensions
Android NDK: ERROR:/Users/dhko/android/android-ndk-r9d/sources/ffmpeg-2.0.1/android/arm/Android.mk:tutorial01: LOCAL_SRC_FILES should point to a file ending with ".so"
Android NDK: The following file is unsupported: tutorial01.c
/Users/dhko/android/android-ndk-r9d/build/core/prebuilt-library.mk:36: *** Android NDK: Aborting . Stop.

My Environment
OS : osx
ndk version : r9
NDK home : /Users/dhko/android/android-ndk-r9d/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions