Teaonly / android-eye

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

JNI build error #32

Open msmehk opened 9 years ago

msmehk commented 9 years ago

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 commented 9 years ago

How do you solve this problem?

yung-yu commented 8 years ago

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 commented 8 years ago

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...