How to solve the problem

tito Bd

New member
Dec 11, 2020
2
0
0
Visit site
When I am trying to get fullscreen snap then camera apps get crushed and showed the bug report :

java.lang.IllegalArgumentException: input size 4640x2088 is not valid at android.hardware.camera2.impl.CameraDeviceImpl.checkInputConfiguration(Unknown Source:133)) at android.hardware.camera2.impl.CameraDeviceImpl.configureStreamsChecked(Unknown Source:25) at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSessionInternal(Unknown Source:48) at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSession(Unknown Source:36) at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor.createCaptureSessionWithSessionConfiguration(VirtualCameraReprocessor.java:4) at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor.createReprocessSession(to :21) at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor.createCaptureSessionIfNeed(VirtualCameraReprocessor.java:44)at at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor.checkConditionIsReady(VirtualCameraReprocessor.java:8) at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor.access$1500(VirtualCameraReprocessor.java:1) at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor$ReprocessHandler.handleMessage(VirtualCameraReprocessor.java:13) at android.os.Handler.dispatchMessage(Unknown Source:19) at android.os.Looper.loop(Unknown Source:242) at android.os.HandlerThread.run(Unknown Source:28)

I decompile the apk but I couldn't find this section to correct it, can anyone show a way how to resolve it. I searched every smalli but I did not find (android.hardware.camera2.impl, android.os.HandlerThread.run, android.os.Looper.loop, com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor) where do I find all of these error to correct and how?
 

B. Diddy

Senior Ambassador
Moderator
Mar 9, 2012
166,994
7,092
113
Visit site
Welcome to Android Central! Is this a camera app you're developing, or are you trying to debug the stock camera app?
 

tito Bd

New member
Dec 11, 2020
2
0
0
Visit site
Yeah, I am trying to debug stock camera app, i installed the stock camera app on custom rom via magisk module but it encountered these problems. I debugged the app but couldn't get any way to solve or I am really noob on this issues
 

Trending Posts

Forum statistics

Threads
948,847
Messages
6,940,495
Members
3,161,270
Latest member
breedaagoayttt