Log in or register to post comments

Issues getting the Android Native Sample to work

September 25, 2020 - 12:00pm #1

I am attempting to just get the Android Native Sample from here: https://library.vuforia.com/articles/Solution/Getting-Started-with-Vuforia-for-Android-Development.html working.  I think I am following the instructions, although they appear to be for an older version of Android Studio.  

On the version of Android Studio I am using (4.0.1), I get the following error that I am unable to resolve:  

In file included from C:\Android\samples\vuforia-sample-android-9-4-6\vuforia-sample-9-4-6\CrossPlatform\MathUtils.cpp:8:

C:\Android\samples\vuforia-sample-android-9-4-6\vuforia-sample-9-4-6\CrossPlatform\MathUtils.h:11:10: fatal error: 'Vuforia/Vectors.h' file not found

To get here I had to add the libVuforia.so files from the armeabi-v7a and other arm directory as a jar file to add it to the project.  I think I am missing another include/library, but it is unclear from the instructions how to add them.  Regardless, the instructions seem to need updating since I think I am following them and they don't work. There is also a reference to Eclipse as the IDE in the document that probably needs to be updated.  

I am familiar with Android development, but not using C++ libraries in an Android project, so I need some help sorting this library issue out.  Thanks

 

 

Log in or register to post comments