Crash on OnePlus X (libtango_hal.so is missing) #7
Comments
From the log it looks like the sample app cannot load the Tango shared library. Did you install the ARCore Service? See the "Preparing your Device" section of Google's instructions https://developers.google.com/ar/develop/java/getting-started |
Yes. Also, I forgot to mention I'm running Lineage OS with Android 7.1.2 |
Found more information in the logcat that might prove useful:
|
Thanks for that info. Also interesting that it's ignoring the Vulkan layer search path; I believe that the referenced path is the correct one for ARCore. Did that log appear before the first log you posted? |
It happened before. Here is a full logcat since launch untill crash: https://pastebin.com/3eD1pu9d |
Thanks for posting that. The following line indicates that the native library cannot find a suitable camera.
Can you ensure the camera permission (in Android App Settings) is enabled for both TangoCore and the sample app? |
Permissions were disabled for both apps (nice catch!) but the same error is still happening. |
Could be Vulkan-specific. See #5 |
Added the known devices to a research document to try to isolate the issue. OnePlus X is the only device on the list with an Adreno 330, so it's possible that the architecture is currently unsupported. Let's try to fix that :) |
I went a bit deeper into the problem and decompiled the private static boolean deviceCalibrationAvailable()
{
return (Build.FINGERPRINT.contains("sailfish:7")) || (Build.FINGERPRINT.contains("sailfish:O")) || (Build.FINGERPRINT.contains("sailfish:8")) || (Build.FINGERPRINT.contains("marlin:7")) || (Build.FINGERPRINT.contains("marlin:O")) || (Build.FINGERPRINT.contains("marlin:8")) || (Build.FINGERPRINT.contains("walleye:O")) || (Build.FINGERPRINT.contains("walleye:8")) || (Build.FINGERPRINT.contains("taimen:O")) || (Build.FINGERPRINT.contains("taimen:8")) || (Build.FINGERPRINT.contains("SC-02J/SC-02J:7")) || (Build.FINGERPRINT.contains("SCV36_jp_kdi/SCV36:7")) || (Build.FINGERPRINT.contains("dreamqlteue/dreamqlteue:7")) || (Build.FINGERPRINT.contains("dreamqltesq/dreamqltesq:7")) || (Build.FINGERPRINT.contains("dreamqlteldusq/dreamqltesq:7")) || (Build.FINGERPRINT.contains("dreamqltezm/dreamqltecmcc:7")) || (Build.FINGERPRINT.contains("dreamqltevl/dreamqltecan:7")) || (isSupportedExynosDevice());
} These translate to the following:
These methods are inside the class |
Thanks for your research! I'll look into it now. Your information is useful for this idea. |
I built an early version of a modified ARCore Service, which seems to be functional without per-app modifications, all on my "unsupported" device. Please try it on your device and let me know if it works. You'll need to uninstall the existing "Tango Core" first. Thanks! |
Thanks for your effort! Unfortunately the same error is still occurring. |
I have the same
|
Sample app fails to initialize with the following stack trace:
The text was updated successfully, but these errors were encountered: