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

java.lang.IllegalArgumentException: width and height must be > 0 #6

Closed
tao72909 opened this issue Sep 17, 2018 · 2 comments
Closed

Comments

@tao72909
Copy link

image

09-17 17:22:48.563 4344-4344/? E/MultiWindowProxy: getServiceInstance failed!
09-17 17:22:49.717 4344-4425/me.pqpo.smartcamera E/OpenGLRenderer: PerfServiceNative_notifyRenderTime init fail!
09-17 17:22:50.224 4344-4443/me.pqpo.smartcamera E/AndroidRuntime: FATAL EXCEPTION: processThread
Process: me.pqpo.smartcamera, PID: 4344
java.lang.IllegalArgumentException: width and height must be > 0
at android.graphics.Bitmap.createBitmap(Bitmap.java:829)
at android.graphics.Bitmap.createBitmap(Bitmap.java:808)
at android.graphics.Bitmap.createBitmap(Bitmap.java:775)
at me.pqpo.smartcameralib.SmartScanner.preparePreviewBitmap(SmartScanner.java:124)
at me.pqpo.smartcameralib.SmartScanner.previewScan(SmartScanner.java:112)
at me.pqpo.smartcameralib.SmartCameraView$1.onPicturePreview(SmartCameraView.java:60)
at com.google.android.cameraview.CameraView$CallbackBridge.onPicturePreview(CameraView.java:470)
at com.google.android.cameraview.Camera1$2.handleMessage(Camera1.java:110)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:207)
at android.os.HandlerThread.run(HandlerThread.java:61)

@pqpo
Copy link
Owner

pqpo commented Sep 18, 2018

v1.2.1 fixed

@pqpo pqpo closed this as completed Sep 18, 2018
@tao72909
Copy link
Author

Good Job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants