Hello - newbie here, first time using Vuforia.
I have followed the "getting started" tutorial here. Runs great in the Unity player, it uses the host camera, recognizes the astronaut image and places a simple cube attached to the target / recognized object. No code change, just following the tutorial.
Now I Build and Run to my device (Google Pixel), and run the app. See the Unity splash screen, then black screen for a few seconds, then hard CRASH. Happens every time.
Captured some log info via adb logcat. Not sure what to be looking for, but the below seems to be the offending piece. Looking for any other ugly info in the log... Trying to think of whatever other info is helpful.
Targeting Android 7.1 Nougat, API level 25.
Any thoughts on what else I can try or what's going wrong here?
Thank you for any help!
10-12 11:32:32.157 16189 16189 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x6e756857 in tid 16189 (an.hellovuforia) 10-12 11:32:32.265 16288 16288 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 10-12 11:32:32.265 16288 16288 F DEBUG : Build fingerprint: 'google/sailfish/sailfish:8.0.0/OPR3.170623.008/4294783:user/release-keys' 10-12 11:32:32.265 16288 16288 F DEBUG : Revision: '0' 10-12 11:32:32.265 16288 16288 F DEBUG : ABI: 'arm' 10-12 11:32:32.265 16288 16288 F DEBUG : pid: 16189, tid: 16189, name: an.hellovuforia >>> com.ikdan.hellovuforia <<< 10-12 11:32:32.265 16288 16288 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6e756857 10-12 11:32:32.266 16288 16288 F DEBUG : r0 6e756863 r1 cabd52fc r2 00000000 r3 00000009 10-12 11:32:32.266 16288 16288 F DEBUG : r4 ffc388b8 r5 6e756863 r6 cabd52b4 r7 00000000 10-12 11:32:32.266 16288 16288 F DEBUG : r8 00000000 r9 ffc38914 sl ffc388b8 fp ffc38bb4 10-12 11:32:32.266 16288 16288 F DEBUG : ip f0eacfac sp ffc38870 lr f0e8916d pc f01946a8 cpsr 800f0030 10-12 11:32:32.269 16288 16288 F DEBUG : 10-12 11:32:32.269 16288 16288 F DEBUG : backtrace: 10-12 11:32:32.270 16288 16288 F DEBUG : #00 pc 0000c6a8 /system/lib/libutils.so (_ZNK7android8String164sizeEv+3) 10-12 11:32:32.270 16288 16288 F DEBUG : #01 pc 000003d0 /data/data/com.google.tango/libfiles/armeabi-v7a/libtango_client_api.so (offset 0xa9000)
10-12 11:32:33.286 911 1582 I WindowManager: WIN DEATH: Window{b7ade92 u0 com.ikdan.hellovuforia/com.unity3d.player.UnityPlayerActivity}
10-12 11:32:33.344 911 5297 I ActivityManager: Process com.ikdan.hellovuforia (pid 16189) has died: fore TOP 10-12 11:32:33.348 911 5297 W ActivityManager: Force removing ActivityRecord{cc3ae39 u0 com.ikdan.hellovuforia/com.unity3d.player.UnityPlayerActivity t14634}: app died, no saved state
Hello danhik,
Hello danhik,
It's possible you are running into a permissions issue. Could you try reinstalling the apk on your device using the following command: "adb install -r -g <apk location>"
Thank you for the reply. I
Thank you for the reply. I executed the adb command you provided, and the app installed fine. Ran it, and see the same behavior - Unity splash screen then a second or so later, hard crash.
I see this line in your log:
I see this line in your log:
Vuforia SDK version 6.5.17
Which version of Unity are you using? The official release version of Unity 2017.2.0f3 should have 6.5.22.
OK well that was it. I was
OK well that was it. I was running with beta b2 version. Uninstalled, installed latest 2017.2.0f3 and my simple app is working now. No crash.
Confirmed in logs that it's using Vuforia SDK version 6.5.22 now.
I'm glad you were able to get
I'm glad you were able to get it working on the newest Unity =)
Feel free to open another thread if you aren't able to resolve your issue with virtual buttons.
Thanks,
-Vuforia Support