Open NumesSanguis opened 5 years ago
The Android Emulator ARCore integration (i.e. the Virtual Scene camera) currently does not support the front facing camera. Consequently it won't work with the Augmented Faces app at this time.
When is the feature expected to be added? Its difficult for people to buy a phone to develop apps.
Tried to run AugmentedFaces on a virtual Pixel 2 device with Android 8.1 and Play Store, however at startup I get the error:
AugmentedFaces Java has stopped
.=== System ===
sceneform-android-sdk-v1.7.0.zip
ARCore_1.7.0.x86_for_emulator.apk
=== Steps to reproduce ===
sceneform-android-sdk-v1.7.0.zip
Render maximum (up to OpenGL ES 3.1)
Your device isn't compatible with this version.
for both Android 8.1 and 9.0 on Pixel 2ARCore_1.7.0.x86_for_emulator.apk
and drag .apk onto the device. Get stuck with a loading bar..apk
-->.apk.test
. Transfer to device. Browse to file withFolder
app. Rename back to .apk. Click it to installAugmentedFaces
AugmentedFaces
appAugmentedFaces Java has stopped
.=== Log ===
= Event log =
= Logcat log =
Click to expand logcat log
2019-02-17 23:34:37.567 1426-3919/? W/audio_hw_generic: in_read_worker only could write 0 / 240 frames 2019-02-17 23:34:38.049 1637-1901/? I/ActivityManager: Killing 3827:com.google.ar.sceneform.samples.augmentedfaces/u0a81 (adj 904): crash 2019-02-17 23:34:38.050 1637-1653/? W/zygote: kill(-3827, 9) failed: No such process 2019-02-17 23:34:38.056 1426-3363/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 937673 , only wrote 937440 2019-02-17 23:34:38.067 1637-2651/? D/EGL_emulation: eglMakeCurrent: 0xa63fd6e0: ver 3 0 (tinfo 0x8f47f2c0) 2019-02-17 23:34:38.067 1637-1901/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10300000 cmp=com.google.ar.sceneform.samples.augmentedfaces/.AugmentedFacesActivity} from uid 10022 2019-02-17 23:34:38.096 1637-1653/? W/zygote: kill(-3827, 9) failed: No such process 2019-02-17 23:34:38.145 1637-1653/? W/zygote: kill(-3827, 9) failed: No such process 2019-02-17 23:34:38.145 1637-1653/? I/zygote: Successfully killed process cgroup uid 10081 pid 3827 in 95ms 2019-02-17 23:34:38.150 1637-2516/? E/ActivityManager: applyOptionsLocked: Unknown animationType=0 2019-02-17 23:34:38.154 1512-3871/? E/Camera3-OutputStream: getBufferLockedCommon: Stream 0: Can't dequeue next output buffer: Broken pipe (-32) 2019-02-17 23:34:38.154 1512-3871/? E/Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32) 2019-02-17 23:34:38.157 4235-4235/? I/zygote: Not late-enabling -Xcheck:jni (already on) 2019-02-17 23:34:38.159 1512-1567/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32 2019-02-17 23:34:38.159 1512-1567/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32) 2019-02-17 23:34:38.159 1512-1567/? E/Camera3-Device: Can't return buffer to its stream: Broken pipe (-32) 2019-02-17 23:34:38.159 1512-1567/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32 2019-02-17 23:34:38.159 1512-1567/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 1: Error queueing buffer to native window: Broken pipe (-32) 2019-02-17 23:34:38.159 1512-1567/? E/Camera3-Device: Can't return buffer to its stream: Broken pipe (-32) 2019-02-17 23:34:38.164 1637-2516/? I/ActivityManager: Start proc 4235:com.google.ar.sceneform.samples.augmentedfaces/u0a81 for activity com.google.ar.sceneform.samples.augmentedfaces/.AugmentedFacesActivity 2019-02-17 23:34:38.173 4235-4235/? W/zygote: Unexpected CPU variant for X86 using defaults: x86 2019-02-17 23:34:38.177 1637-1658/? W/ActivityManager: setHasOverlayUi called on unknown pid: 3827 2019-02-17 23:34:38.180 1434-1470/? D/gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 8298496 2019-02-17 23:34:38.190 2289-2447/? I/MicroDetector: Keeping mic open: false 2019-02-17 23:34:38.190 2289-2601/? I/DeviceStateChecker: DeviceStateChecker cancelled 2019-02-17 23:34:38.191 2289-2947/? I/MicroRecognitionRunner: Stopping hotword detection. 2019-02-17 23:34:38.191 2289-2944/? I/AudioController: internalShutdown 2019-02-17 23:34:38.219 2289-2944/? I/MicrophoneInputStream: mic_close SR : 16000 CC : 16 SO : 1999 2019-02-17 23:34:38.223 2289-2437/? I/MicroRecognitionRunner: Detection finished 2019-02-17 23:34:38.262 1512-1571/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32 2019-02-17 23:34:38.262 1512-1571/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32) 2019-02-17 23:34:38.264 1512-1571/? E/Camera3-Device: Can't return buffer to its stream: Broken pipe (-32) 2019-02-17 23:34:38.265 1512-1571/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32 2019-02-17 23:34:38.265 1512-1571/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 1: Error queueing buffer to native window: Broken pipe (-32) 2019-02-17 23:34:38.265 1512-1571/? E/Camera3-Device: Can't return buffer to its stream: Broken pipe (-32) 2019-02-17 23:34:38.270 1512-1571/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32 2019-02-17 23:34:38.270 1512-1571/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32) 2019-02-17 23:34:38.270 1512-1571/? E/Camera3-Device: Can't return buffer to its stream: Broken pipe (-32) 2019-02-17 23:34:38.270 1512-1571/? E/Surface: queueBuffer: error queuing buffer to SurfaceTexture, -32 2019-02-17 23:34:38.271 1512-1571/? E/Camera3-OutputStream: returnBufferCheckedLocked: Stream 1: Error queueing buffer to native window: Broken pipe (-32) 2019-02-17 23:34:38.271 1512-1571/? E/Camera3-Device: Can't return buffer to its stream: Broken pipe (-32) 2019-02-17 23:34:38.271 1512-1512/? I/Camera3-Device: disconnect: E 2019-02-17 23:34:38.271 1512-1512/? I/CameraLatencyHistogram: ProcessCaptureRequest latency histogram (1790) samples: 2019-02-17 23:34:38.271 1512-1512/? I/CameraLatencyHistogram: 40 80 120 160 200 240 280 320 360 inf (max ms) 2019-02-17 23:34:38.271 1512-1512/? I/CameraLatencyHistogram: 99.27 0.67 0.06 0.00 0.00 0.00 0.00 0.00 0.00 0.00 (%) 2019-02-17 23:34:38.297 1512-1512/? W/Camera3-OutputStream: disconnectLocked: While disconnecting stream 0 from native window, the native window died from under us 2019-02-17 23:34:38.297 1512-1512/? I/CameraLatencyHistogram: Stream 0 dequeueBuffer latency histogram (1791) samples: 2019-02-17 23:34:38.297 1512-1512/? I/CameraLatencyHistogram: 5 10 15 20 25 30 35 40 45 inf (max ms) 2019-02-17 23:34:38.297 1512-1512/? I/CameraLatencyHistogram: 99.27 0.22 0.11 0.22 0.06 0.00 0.00 0.00 0.06 0.06 (%) 2019-02-17 23:34:38.301 1512-1512/? W/Camera3-OutputStream: disconnectLocked: While disconnecting stream 1 from native window, the native window died from under us 2019-02-17 23:34:38.301 1512-1512/? I/CameraLatencyHistogram: Stream 1 dequeueBuffer latency histogram (1790) samples: 2019-02-17 23:34:38.301 1512-1512/? I/CameraLatencyHistogram: 5 10 15 20 25 30 35 40 45 inf (max ms) 2019-02-17 23:34:38.301 1512-1512/? I/CameraLatencyHistogram: 99.27 0.34 0.11 0.28 0.00 0.00 0.00 0.00 0.00 0.00 (%) 2019-02-17 23:34:38.301 1512-1512/? I/Camera3-Device: disconnect: X 2019-02-17 23:34:38.301 1512-1512/? I/Camera3-Device: disconnect: E 2019-02-17 23:34:38.309 1512-1512/? I/CameraService: disconnect: Disconnected client for camera 1 for PID 3827 2019-02-17 23:34:38.309 1512-1512/? I/Camera2ClientBase: Closed Camera 1. Client was: com.google.ar.sceneform.samples.augmentedfaces (PID 3827, UID 10081) 2019-02-17 23:34:38.309 1512-1512/? E/CameraService: binderDied: Java client's binder died, removing it from the list of active clients 2019-02-17 23:34:38.346 2289-2541/? D/EGL_emulation: eglMakeCurrent: 0xa3a31e20: ver 3 0 (tinfo 0x8d94e3d0) 2019-02-17 23:34:38.346 1637-1683/? W/AppOps: Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0 2019-02-17 23:34:38.347 2196-2330/? D/EGL_emulation: eglMakeCurrent: 0x929f3b20: ver 3 0 (tinfo 0x929fdd40) 2019-02-17 23:34:38.365 1742-1957/? D/EGL_emulation: eglMakeCurrent: 0x91beff20: ver 3 0 (tinfo 0x92083000) 2019-02-17 23:34:38.372 4235-4235/com.google.ar.sceneform.samples.augmentedfaces I/InstantRun: starting instant run server: is main process 2019-02-17 23:34:38.379 1742-1957/? D/EGL_emulation: eglMakeCurrent: 0x91beff20: ver 3 0 (tinfo 0x92083000) 2019-02-17 23:34:38.486 1742-1957/? I/chatty: uid=10029(com.android.systemui) RenderThread identical 12 lines 2019-02-17 23:34:38.494 1742-1957/? D/EGL_emulation: eglMakeCurrent: 0x91beff20: ver 3 0 (tinfo 0x92083000) 2019-02-17 23:34:38.512 4235-4235/com.google.ar.sceneform.samples.augmentedfaces I/zygote: Rejecting re-init on previously-failed class java.lang.Class