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

JNI build error #32

Open
msmehk opened this issue Jun 19, 2015 · 3 comments
Open

JNI build error #32

msmehk opened this issue Jun 19, 2015 · 3 comments

Comments

@msmehk
Copy link

msmehk commented Jun 19, 2015

Hi I am new to NDK. When i tried to build the JNI it shows following error.

C:\Users\USER\workspace\android-eye\jni>ndk-build
Android NDK: ERROR:C:/Users/USER/workspace/android-eye/jni/Android.mk:x264_pre:
LOCAL_SRC_FILES points to a missing file
Android NDK: Check that C:/Users/USER/workspace/android-eye/jni/x264/libx264.a e
xists or that its path is correct
E:/ms/ndk/android-ndk-r10e/build/core/prebuilt-library.mk:45: *** Android NDK: A
borting . Stop.

@peijie123
Copy link

How do you solve this problem?

@yung-yu
Copy link

yung-yu commented Sep 11, 2015

you need x264 file .
so you can download from https://github.com/yixia/x264 to jin folder
run ./build_android.sh ,
then to build it by android ndk .

@specialshoot
Copy link

I have x264 file in jni and also run ./build_android.sh but it shows "You must define ANDROID_NDK before starting." "They must point to your NDK directories".My NDK directory is in SDK folder.It is automatically installed by Android Studio.I don't know how to continue...

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

4 participants