#Camera Kit issue Android Custom Device

8 messages · Page 1 of 1 (latest)

outer oxide
#

I try to run camera kit android application created from Git Samples

Try to run on this device - lantronix
Open-Q™ 865 Development Kit for 865XR/5165RB/8250CS

#

First, the Qualcomm process (com.qualcomm.qti.qdma) is crashing with the error:
java.lang.UnsupportedOperationException at
java.util.Collections$UnmodifiableCollection.retainAll(Collections.java:11
This indicates that the QTI library is located in /system/lib64/ where it's not
accessible under the vendor namespace, which our current Android security policies enforce.
This misplacement prevents the vendor-classloader from loading the library correctly.

#

The second issue is with the Snap Camera sample
(com.snap.camerakit.sample.carousel), which is failing with the following error:
java.lang.UnsupportedOperationException
at
java.util.Collections$UnmodifiableCollection.retainAll(Collections.java:1118)
at androidx.camera.core.s.b(Unknown Source:32)
at androidx.camera.core.s.a(Unknown Source:29)
at androidx.camera.lifecycle.f.a(SourceFile:83)
at co

sharp coyote
#

@tranquil knot

tranquil knot
#

@outer oxide This looks like a device specific issue. When does the first issue/crash take place?

outer oxide
# tranquil knot <@979834875689435196> This looks like a device specific issue. When does the fir...

Hi, I have fixed the issue with Snap AR. Snap AR did not work on some/older/custom OS when you manually install the apk using files. Sometime, it gives error like ‘app not properly installed’ but not always. I had to install using adb install with ‘full’ and ‘abi’ flags/cli options. This may be a security features but complicated to understand.

No logs were generated related to this except:
‘’’
“pkg=com.snap.camerakit.sample.input restoreSet=0 enable setting: 0”
‘’’
I found this fix on the internet. As of now, with this fix all the apk files seem to be working correctly.

outer oxide
tranquil knot
#

@outer oxide How familiar are you with android dev? You Can can use your own implementation based on the CameraXImageProcessorSource support class with a single line change where you add your ownCameraFilter