Log in or register to post comments

ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a missing file

December 9, 2013 - 8:26am #1

I referred some issues in forum. But i can't understand. Where to change my code? Is any other file to change?

 

ndk path: C:\projectsdev\android\android-ndk-r8
vuforia path:  C:\projectsdev\android\vuforia-sdk-android-2-5-7\samples\ImageTargets-2-6-7
android sdk path : C:\Program Files\Android\android-sdk
 
Arun@Arun-PC /cygdrive/c/projectsdev/android/vuforia-sdk-android-2-5-7/samples/ImageTargets-2-6-7
$ ndk-build
Android NDK: ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that jni/../../../../../../AugmentedReality/vuforia/vuforia-sdk-android-2-5-
 
7/build/lib/armeabi/libQCAR.so exists  or that its path is correct
/cygdrive/c/projectsdev/android/android-ndk-r8/build/core/prebuilt-library.mk:43: *** Android 
 
NDK: Aborting    .  Stop.
 

 

 

ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a

March 18, 2014 - 11:11pm #9

The problem is that they renamed libQCAR.so to libVuforia.so without mentioning about it in the patch notes (!).

Just change the name. Also, there is no armeabi version anymore, so you should only have armeabi-v7a in APP_ABI

 

EDIT: Also as mentioned, you have to change the JAR-file reference as well...

 

Also, just had this problem today where it said something about "you can only specify one file in LOCAL_SRC_FILES" for the prebuilt library. Do check that your directory path has no spaces! :D

ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a

February 25, 2014 - 5:13am #8

I have installed the ndk-build & configuration as required, still it gives me the same error.. It worked for me in the previous Vuforia-sdk version.

I also went through the Migration Link for android project, Have replaced the old QCAR_SDK_ROOT.jar file with the new Vuforia.jar file.

 

Any help/suggestion is appreaciated.

 

Thanks,

ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a

January 2, 2014 - 9:00am #7

@mromero: I think the error is, your vuforia sdk is 2-8-7. But your sample app is 2-6-7. Please download ImageTargets-2-8-7 and run it should work. I had same problem. 

ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a

January 2, 2014 - 8:55am #6
thank you! for your answer.
 
yes, I'm following the steps.
 
my development folder:
 
Users/marlonromero/Android:
 
android-ndk-r9c
 
android-sdk
 
vuforia-sdk-android-2-8-7/samples/ImageTargets-2-6-7
 
in a MAC  os x 10.9.1
 
and the samples in the NDK run fine with the ndk-build.
 
 
when i try to build the sample proyect mageTargets-2-6-7 the file Android.mk  search the libQCAR.so but in the new vuforia-sdk-android-2-8-7/build / lib - only are libVuforia.so?
 
LOCAL_SRC_FILES = ../../../build/lib/$(TARGET_ARCH_ABI)/libQCAR.so
 
Users/marlonromero/Android/vuforia-sdk-android-2-8-7/build/lib/armeabi-v7a/libVuforia.so

 

 

 

ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a

January 1, 2014 - 7:27pm #5

Try android-ndk-r8 instead of android-ndk-r9. I tried, it's working for me. First run the ndk sample from this link then vuforia should work.

http://ibuzzlog.blogspot.in/2012/07/how-to-install-android-ndk-on-windows.html

ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a

January 1, 2014 - 6:32pm #4

Are your samples in the samples folder of your Vuforia SDK installation? - that error typically arises from the wrong sample path

e.g.

C:\Development\Android\vuforia-sdk-android-[ version ]\samples\ImageTargetsNative

also see..

https://developer.vuforia.com/forum/android/ndk-build-error

QCAR-prebuilt

January 1, 2014 - 6:01pm #3

Hi, anyone knows how to fix this error?

Android NDK: ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a missing file    

Android NDK: Check that jni/../../../build/lib/armeabi/libQCAR.so exists  or that its path is correct   

/Users/marlonromero/Android/android-ndk-r9c/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.

 

android-ndk-r9c

android-sdk

vuforia-sdk-android-2-8-7

ADT

mac os x 10.9.1

thank you!

ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a

December 9, 2013 - 9:05am #2

It is recommended to put Vuforia, Android SDK and NDK all under a common path, for instance:

Android SDK:   C:\development\android-sdk<

Android NDK:  C:\development\android-ndk-r9

Vuforia SDK:  C:\development\vuforia-sdk

See the developer guide (Getting Started guide).

 

Log in or register to post comments