"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Crash on init with Samsung Galaxy S7

Hi,

I have an app that has been working on several Android devices for quite some time.

However, when I have tried running it on a new Samsung Galaxy S7 (Android 6.01), it crashes at the beginning on QCAR.setInitParameters. Seems like it doesn't find the lib or something like that - is it a 64 bit issue?

The error:

Uncaught Exception: java.lang.UnsatisfiedLinkError: No implementation found for void com.qualcomm.QCAR.QCAR.onResume() (tried Java_com_qualcomm_QCAR_QCAR_onResume and Java_com_qualcomm_QCAR_QCAR_onResume__)

Any idea how to fix this?

 

Thanks,

yakobom

sandy4990

Mon, 07/18/2016 - 05:23

try adding - android:largeHeap="true" - in application tag of your AndroidManifest.xml file.

Could it be that your app doesn't have the permission the access the camera?

Since Android 6 you have to specifically ask for it in your app.

Hi,

I have just checked it, in order to be certain - this is not the issue. Also, it does not make sense that a lack of permission would cause an UnsatisfiedLinkError exception...

Hello,

Vuforia currently does not support 64-bit Android applications.

Thanks

Hi,

The application is not 64-bit - it is a 32-bit application that runs on many other devices. Are you saying that Vuforia cannot run on Samsung Galaxy S7?

medabit

Wed, 07/20/2016 - 00:43

In reply to by yakobom

Hello,

32-bit applications that are built with the Vuforia SDK are compatible with the Samsung Galaxy S7.

Thanks.

Hi,

Just so give some more details, The error I have mentioned is thrown later, before that I had a similar one that was caught:

Thank you. Still, the same code works on other devices and not on the Samsung S7, and the exception is on the vuforia jar. Any ideas on what could be the problem?