RSS

QCAR Vuforia: The library libVuforia.so could not be loaded

02 Sep

If you are building Augmented Reality applications for Android apps, Vuforia or QCAR might be one of the very useful library. However, you might also encounter the below warnings in logcat window, as shown below

The library libVuforia.so could not be loaded

image

There are several workarounds to troubleshoot this:

Approach I: In your project, there will be a file called “CopyVuforiaFiles.xml”, and there is a child element <fileset> where you should specify the right path to the libVuforia.so, change this path to the right directory where this file resides, that is it!

image

image

Approach II: recommended.

Go to the /vuforia/samples/libs/ folder where libVuforia.so resides.
Copy the “libs” sub-folder to your project folder.

image
Copy this “libs” sub-folder from samples folder of Vuforia

image
Paste that to your project folder.

Then in Eclipse, Package Explorer, you will find below hierarchies:

image

Rebuild your project, you will no longer see the warning “The library libVuforia.so could not be loaded”, everything should be OK!

Happy coding!

 
Leave a comment

Posted by on September 2, 2014 in Programming, Vuforia (QCAR)

 

Tags: , , , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: