-
-
Notifications
You must be signed in to change notification settings - Fork 916
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
Only the original thread that created a view hierarchy can touch its views. #14
Comments
This was fixed in #1 , could you update to latest version? 1.2.0. |
Going to close, feel free to reopen in case you see this again with latest version. |
This problem is still there. if you drawover a compass with animation and then take video/picture snapshot it will show this error.. E/AndroidRuntime: FATAL EXCEPTION: VideoEncoder |
Hello, I'm using your library to capture video, but when I use it, based on the example that comes in it, I get the following error
Process: com.brive.yooin, PID: 11035 android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6902) at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:1052) at android.view.View.requestLayout(View.java:19680) at android.view.View.requestLayout(View.java:19680) at android.view.View.requestLayout(View.java:19680) at android.view.View.requestLayout(View.java:19680) at android.view.View.requestLayout(View.java:19680) at android.view.View.requestLayout(View.java:19680) at android.support.constraint.ConstraintLayout.requestLayout(ConstraintLayout.java:1959) at android.view.View.requestLayout(View.java:19680) at com.otaliastudios.cameraview.CameraView$CameraCallbacks.onCameraPreviewSizeChanged(CameraView.java:1218) at com.otaliastudios.cameraview.Camera1.setup(Camera1.java:116) at com.otaliastudios.cameraview.Camera1.start(Camera1.java:153) at com.otaliastudios.cameraview.CameraView$2.run(CameraView.java:500) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.os.HandlerThread.run(HandlerThread.java:61)
Any recommendation?
The text was updated successfully, but these errors were encountered: