google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.95k stars 1.22k forks source link

Hello AR Java crashes consistently on Galaxy Nexus - fails to start at all. #1379

Open harrynov1111 opened 2 years ago

harrynov1111 commented 2 years ago

SPECIFIC ISSUE ENCOUNTERED

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. We used the ARCore sample - "https://developers.google.com/ar/develop/java/quickstart".
  2. Downloaded the ARCore sample.
  3. Built Hello AR Java. Build folder generated successfully with outputs containing apk. ARCore required is used in AndroidManifest.xml. Already enabled in the downloaded sample. I didn't have to tweak it.
  4. APK(Debug version) was installed on the emulator using 'gradlew task installDebug'.
  5. Hello AR Java was granted permission to use the camera.
  6. Camera used is webcam - 720 pixels, 'logi'.
  7. App starts and crashes - again and again.

WORKAROUNDS (IF ANY)

ADDITIONAL COMMENTS

sandyfriend commented 2 years ago

Google Nexus may not support the correct android version.

Based the info from https://developers.google.com/ar/devices

Please making sure your devices follow below requirement.

Requires Android 8.1 (API 27) or later. The rear-facing (world) camera is emulated with a virtual scene. The front-facing (selfie) camera is not supported.