Hi ,
I just start exploring the vuforia Android sdk and samples, and i'm having some trouble with it .
This test was done on Samsung A5 Android 7.0 and Nexus 5X
SDK : vuforia-sdk-android-6-5-23.zip (12.29 MB)
Sample 1 : vuforia-samples-core-android-6-5-19.zip (33.09 MB)
Sample 2 : vuforia-samples-eyewear-android-6-5-19.zip (10.92 MB)
Sample 3 : vuforia-samples-advanced-android-6-5-19.zip (36.56 MB)
The only change i apply is i create app/libs and i copy the Vuforia.jar library and i change the gradle dependency to :
dependencies {
compile fileTree(dir:'libs', include: 'Vuforia.jar')
}
All the Sample test fail with a black screen or white screen just after i press "Start" in any of the sample option (Image targets , VuMark ...).
After that i figure out that there is a key licence and i follow the instruction mention here :https://library.vuforia.com/articles/Solution/How-To-add-a-License-Key-to-your-Vuforia-App
and i add my key licence here : Vuforia.setInitParameters(mActivity, mVuforiaFlags, "ASKRnBL/////AAAAGeRcP4vX.........");
The problem persist and i keep getting black screen and all button access is blocked .
This is the log showing on the console :
10-30 14:45:55.388 4694-4694/? E/Zygote: v2 10-30 14:45:55.389 4694-4694/? I/libpersona: KNOX_SDCARD checking this for 10794 10-30 14:45:55.389 4694-4694/? I/libpersona: KNOX_SDCARD not a persona 10-30 14:45:55.389 4694-4694/? E/Zygote: accessInfo : 0 10-30 14:45:55.390 4694-4694/? W/SELinux: SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 RAM:SEPF_SECMOBILE_7.0_0009, [-1 -1 -4 -1 0 1] 10-30 14:45:55.391 4694-4694/? I/SELinux: SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.vuforia.samples.VuforiaSamples 10-30 14:45:55.393 4694-4694/? I/art: Late-enabling -Xcheck:jni 10-30 14:45:55.410 4694-4694/? D/TimaKeyStoreProvider: TimaKeyStore is not enabled: cannot add TimaSignature Service and generateKeyPair Service 10-30 14:45:55.442 4694-4694/com.vuforia.samples.VuforiaSamples W/System: ClassLoader referenced unknown path: /data/app/com.vuforia.samples.VuforiaSamples-1/lib/arm 10-30 14:45:55.469 4694-4694/com.vuforia.samples.VuforiaSamples D/ImageTargets: onCreate 10-30 14:45:55.498 4694-4694/com.vuforia.samples.VuforiaSamples D/SensorManager: registerListener :: 7184, BOSCH Accelerometer Sensor, 200000, 0, 10-30 14:45:55.502 4694-4709/com.vuforia.samples.VuforiaSamples W/System.err: The library libVuforia.so could not be loaded 10-30 14:45:55.503 4694-4709/com.vuforia.samples.VuforiaSamples I/art: System.exit called, status: 1 10-30 14:45:55.503 4694-4709/com.vuforia.samples.VuforiaSamples I/AndroidRuntime: VM exiting with result code 1, cleanup skipped.
Thank you ,
Hi,
Hi,
Did you place the project under the correct folder? For example, for the ImageTargetsNative project, it should be under vuforia-sdk-android-6-5-19\samples\ImageTargetsNative-6-5-19
Hello. Add vuforia sdk
Hello. Add vuforia sdk accordingly this path: def VUFORIA_SDK_DIR = '../../../'. (This path you can see in build.gradle file)