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

expo ejected Android demo crashes when trying to use camera in GL – Expo regression? #291

Open
gre opened this issue Dec 25, 2020 · 0 comments
Labels
bug Expo this is related to Expo

Comments

@gre
Copy link
Owner

gre commented Dec 25, 2020

12-25 19:05:21.140  8058  8058 E AndroidRuntime: Process: fr.greweb.glreactcookbook, PID: 8058
12-25 19:05:21.140  8058  8058 E AndroidRuntime: java.lang.RuntimeException: setParameters failed
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.hardware.Camera.native_setParameters(Native Method)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.hardware.Camera.setParameters(Camera.java:2387)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at com.google.android.cameraview.Camera1.adjustCameraParameters(Camera1.java:575)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at com.google.android.cameraview.Camera1$1.onSurfaceChanged(Camera1.java:114)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at com.google.android.cameraview.PreviewImpl.dispatchSurfaceChanged(PreviewImpl.java:56)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at com.google.android.cameraview.TextureViewPreview$1.onSurfaceTextureAvailable(TextureViewPreview.java:45)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.TextureView.getTextureLayer(TextureView.java:413)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.TextureView.draw(TextureView.java:358)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20471)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.draw(View.java:21326)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.drawChild(ViewGroup.java:4413)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4174)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.draw(View.java:21597)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20471)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.draw(View.java:21326)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.drawChild(ViewGroup.java:4413)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4174)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at com.facebook.react.views.view.ReactViewGroup.dispatchDraw(ReactViewGroup.java:703)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20462)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.draw(View.java:21326)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.drawChild(ViewGroup.java:4413)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4174)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at com.facebook.react.views.view.ReactViewGroup.dispatchDraw(ReactViewGroup.java:703)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20462)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.140  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4397)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4370)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.View.updateDisplayListIfDirty(View.java:20431)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:580)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:586)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:659)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewRootImpl.draw(ViewRootImpl.java:3889)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3689)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3005)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1935)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8006)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1154)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.Choreographer.doCallbacks(Choreographer.java:977)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.Choreographer.doFrame(Choreographer.java:893)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1139)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:883)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7682)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
12-25 19:05:21.141  8058  8058 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
@gre gre added bug Expo this is related to Expo labels Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Expo this is related to Expo
Projects
None yet
Development

No branches or pull requests

1 participant