Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent call c api failure #296

Closed
01098996 opened this issue Apr 8, 2018 · 4 comments
Closed

Intermittent call c api failure #296

01098996 opened this issue Apr 8, 2018 · 4 comments
Labels
bug device support questions/issues with device enablement

Comments

@01098996
Copy link

01098996 commented Apr 8, 2018

In Google pixel and Samsung S9, run ARCore for a period of time, recall api always return AR_ERROR_CAMERA_NOT_AVAILABLE. How to fix?

@inio
Copy link

inio commented Apr 8, 2018

  1. We don't support the S9 yet (Not available on Samsung S9 Plus #250). How are you running on that device?
  2. Which function is returning AR_ERROR_CAMERA_NOT_AVAILABLE? Could you provide a logcat dump of any messages leading up to the failure?
  3. ArSession_resume() and ArSession_update() can both return AR_ERROR_CAMERA_NOT_AVAILABLE occasionally if the camera becomes unavailable. This is often due to driver bugs or thermal limitations and there's nothing we can do about it.

@inio inio added question known issue Known issue. No fix expected. labels Apr 8, 2018
@01098996
Copy link
Author

01098996 commented Apr 9, 2018

Thanks inio.

  1. I'm download arcore.apk and install to S9. Call ArCoreApk_checkAvailability() return AR_AVAILABILITY_SUPPORTED_INSTALLED.
  2. Ok! Wait for this bug to appear.
  3. Can only be resolved by restarting device.

@inio
Copy link

inio commented Apr 9, 2018

Side-loading of the ARCore APK is not supported. It must be installed from the Play Store or other official means. Side-loading may result in unsupported behavior, such as what you're seeing on the S9.

For the Google Pixel device, what is the build fingerprint (adb shell getprop ro.build.fingerprint)?
I'm definitely interested in seeing the logcat from that device. Even if you're side-loading, ARCore should work 100% of the time on Pixels running official OS builds.

@inio inio added bug device support questions/issues with device enablement and removed known issue Known issue. No fix expected. question labels Apr 9, 2018
@inio
Copy link

inio commented May 4, 2018

Closing for inactivity.

@inio inio closed this as completed May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug device support questions/issues with device enablement
Projects
None yet
Development

No branches or pull requests

2 participants