"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

com.vuforia.ar.pl.Camera2_Preview ERROR

hi. could someone please help me with this error?

E/dalvikvm: Could not find class ‘android.util.Range’, referenced from method com.vuforia.ar.pl.Camera2_Preview.W/dalvikvm: VFY: unable to resolve new-instance 92 (Landroid/util/Range;) in Lcom/vuforia/ar/pl/Camera2_Preview;D/dalvikvm: VFY: replacing opcode 0x22 at 0x000eE/dalvikvm: Could not find class ‘android.hardware.camera2.CameraManager’, referenced from method com.vuforia.ar.pl.Camera2_Preview.checkCameraManagerW/dalvikvm: VFY: unable to resolve check-cast 58 (Landroid/hardware/camera2/CameraManager;) in Lcom/vuforia/ar/pl/Camera2_Preview;D/dalvikvm: VFY: replacing opcode 0x1f at 0x0016I/dalvikvm: Could not find method android.hardware.camera2.CameraManager.getCameraIdList, referenced from method com.vuforia.ar.pl.Camera2_Preview.getCameraDeviceIndexW/dalvikvm: VFY: unable to resolve virtual method 154: Landroid/hardware/camera2/CameraManager;.getCameraIdList ()[Ljava/lang/String;D/dalvikvm: VFY: replacing opcode 0x6e at 0x0013W/dalvikvm: VFY: unable to resolve exception class 50 (Landroid/hardware/camera2/CameraAccessException;)W/dalvikvm: VFY: unable to find exception handler at addr 0x3cW/dalvikvm: VFY: rejected Lcom/vuforia/ar/pl/Camera2_Preview;.getCameraDeviceIndex (III)IW/dalvikvm: VFY: rejecting opcode 0x0d at 0x003cW/dalvikvm: VFY: rejected Lcom/vuforia/ar/pl/Camera2_Preview;.getCameraDeviceIndex (III)IW/dalvikvm: Verifier rejected class Lcom/vuforia/ar/pl/Camera2_Preview;W/System.err: java.lang.VerifyError: com/vuforia/ar/pl/Camera2_PreviewW/System.err: at com.vuforia.VuforiaBase.progressiveInit(Native Method)W/System.err: at com.vuforia.VuforiaBase.init(VuforiaBase.java:34)W/System.err: at luifer.imagetarget.SampleApplication.SampleApplicationSession$InitVuforiaTask.doInBackground(SampleApplicationSession.java:387)W/System.err: at luifer.imagetarget.SampleApplication.SampleApplicationSession$InitVuforiaTask.doInBackground(SampleApplicationSession.java:369)W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:287)W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:234)W/System.err: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)W/System.err: at java.lang.Thread.run(Thread.java:856)

 

 

Hello,

As this may be a device related issue, it would be helpful if you can provide the following:

I encounter the same problem..

Device Model number: MI 3W

Installed OS version: Android 4.4.2 (custom rom: MIUI-KXDCNBF23.0)

Platform: Unity Extension

This issue can be reproduced with the vuforia sample application.

Appreciate for any Help.. Thanks