Log in or register to post comments

Samsung S8 No New Search Results Are Never Found

February 1, 2018 - 11:28am #1

My Samsung S8 never recognizes images. I have run the exact same code against the same image on different phones and they all recognize it correctly: Pixel 2XL, Nexus 5, Galaxy 6 Edge. There must be something about the S8.

I'm running Vuforia 6.2.6 so I thought that maybe the newer version of Vuforia fixed this issue but when I tried the newer version I ran into another problem:

JNI DETECTED ERROR IN APPLICATION: JNI CallIntMethodV called with pending exception java.lang.ClassNotFoundException: Didn't find class "com.vuforia.ar.pl.Camera2_Preview" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/system/lib, /system/lib]]

at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)

at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)

at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)

We are not making the call to Camera2_Preview anywhere so the call seems to be internal to the Vuforia SDK. 

So at this point I do not know if I should proceed with the upgrade of Vuforia in hopes that it fixes the S8 issue or I can fix the issue using Vuforia 6.2.6.

Thanks in advance.

Samsung S8 No New Search Results Are Never Found

February 2, 2018 - 11:45am #4

Hi,

The error is in my original post.

Is there anything different about the way the 7.x.x Vuforia.jar was built vs the 6.x.x version? I'm suspecting that this error may have something to do with my build system and I'm trying to figure all the potential changes that may be causing this. 

Samsung S8 No New Search Results Are Never Found

February 2, 2018 - 9:21am #3

What is the class not found error you are seeing?

Thanks,

Vuforia Support

Samsung S8 No New Search Results Are Never Found

February 1, 2018 - 3:01pm #2

UPDATE

I managed to get the Sample Vuforia App running on my Samsung S8. When I scan my image a teapot appears on top of it. I assume this means that the image was recognized. 

This seems to suggest that I need to upgrade to Vuforia 7.x.x in order for this to work on the S8.

So now I'm faced with this class not found error. I'm using Bazel to build my application, rather than Gradle, so that probably has something to do with it. 

I will keep investigating.

Log in or register to post comments