Log in or register to post comments

Unable to open camera device: 0

October 16, 2018 - 2:07am #3

10-16 16:58:03.860 13345-13345/com.vuforia.VuforiaSamples E/AR: Cannot setMode to AR before Camera is initialized

10-16 16:58:03.860 13345-13345/com.vuforia.VuforiaSamples E/AR: VideoBackgroundConfig with screen size of zero received, skipping config step

10-16 16:58:03.970 13345-13439/com.vuforia.VuforiaSamples E/AR: The Front Camera is not compatible with DeviceTrackers (Positional or Rotational) nor with SmartTerrain.

    Please deinitialize DeviceTracker and/or SmartTerrain if you want to use the front camera

10-16 16:58:03.970 13345-13439/com.vuforia.VuforiaSamples E/SampleAppSession: Unable to open camera device: 0

    StartVuforiaTask.doInBackground: Could not start AR with exception: com.vuforia.SampleApplication.SampleApplicationException: Unable to open camera device: 0

10-16 16:58:04.030 13345-13345/com.vuforia.VuforiaSamples E/AR: Cannot create AR RenderingPrimitives before Camera is initialized

10-16 16:58:04.030 13345-13345/com.vuforia.VuforiaSamples E/AR: You must successfully set a mode with Device.setMode before retrieving RenderingPrimitives

10-16 16:58:04.030 13345-13345/com.vuforia.VuforiaSamples E/AR: VideoBackgroundConfig with screen size of zero received, skipping config step

10-16 16:58:04.040 13345-13345/com.vuforia.VuforiaSamples E/ImageTargets: Unable to deactivate Continuous Auto-Focus

 

How to solve this camera problem?

Please take a look,thank!

Unable to open camera device: 0

October 16, 2018 - 1:01pm #2

Hello,

Vuforia's support of the front-facing camera was deprecated in 7.2.

https://library.vuforia.com/content/vuforia-library/en/articles/Release_Notes/Vuforia-SDK-Release-Notes.html

Thanks,

Vuforia Engine Support

Unable to open camera device: 0

July 20, 2019 - 8:54am #1

remove ARCore dependency from gradle file also look for targetSDK version and build tool version

Log in or register to post comments