"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

Android 5 (Lollipop) Bug?

Hi,

I have an app that has successfully integrated Vuforia and it works great on phones running Android 4.4 and below. Today I updated a couple of my dev phones to Android 5 Lollipop and all of a sudden, Vuforia no longer works. The error I receive when the user navigates to the Vuforia screen is:

"the library libvuforia.so could not be loaded"

My build works fine in previous versions of Android, so I don't think that other forum posts related to this error message necessarily apply to what is happening to me. Also, I have upgraded to the latest Android NDK (r10c) and am using gradle to build my app.

Is this a known issue with Android 5? Can anyone get Vuforia to work on Android 5?

Thanks!

 

AlessandroB

Mon, 12/01/2014 - 08:54

If you are using the latest SDK 3.0, Vuforia should just run fine on Android 5; at the moment there is a known issue when using Nexus 5 (dark camera in certain conditions), but nothing related to the error you mention here:

Perhaps, this might help get to the right answer. I just unzipped the APK file that is produced for both versions (4.4 and 5.0) of Android. It contains a lib folder. The lib folder contains a number of subfolders:

arm64-v8a,

armeabi,

armeabi-v7a,

mips,

mips64,

Normally the libVuforia.so should end up into the 'armeabi-v7a' folder inside your APK package; the fact that you get it in 'armeabi' (and not in 'armeabi-v7a') sounds suspicious; the problem might be in there.

Glad to hear ;-)

Note that this might be more due to the fact that you upgraded to NDK R10c (rather than Android 5), as you mentioned in your first message. 

Anyway, glad it is sorted.