You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
04-08 15:55:55.416 12315-12315/com.example.cam I/Choreographer: Skipped 267 frames! The application may be doing too much work on its main thread.
04-08 15:55:55.472 12315-12315/com.example.cam D/AndroidRuntime: Shutting down VM
04-08 15:55:55.481 12315-12315/com.example.cam E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.cam, PID: 12315
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:1997)
at com.example.cam.Preview.surfaceChanged(Preview.java:159)
at android.view.SurfaceView.updateWindow(SurfaceView.java:607)
at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:179)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2086)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1125)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6100)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
at android.view.Choreographer.doCallbacks(Choreographer.java:670)
at android.view.Choreographer.doFrame(Choreographer.java:606)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5525)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
The text was updated successfully, but these errors were encountered:
i dont know who to deal with your runtime error, but i have setup the android example and it is running :-) if you want, i can share my code! i would like to copy the learning example from iOS to android / maybe there are some who want to collaborate..
Any idea about the blow error?
The text was updated successfully, but these errors were encountered: