android / android/camera-samples
什么情况下会出现如下错误
- Dominant language
- Kotlin
- Stars
- 5.5k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
* D/CameraStateMachine: New public camera state CameraState{type=OPEN, error=StateError{code=4, cause=java.util.concurrent.TimeoutException: Cannot complete surfaceList within 5000}}
* from OPEN and StateError{code=4, cause=java.util.concurrent.TimeoutException: Cannot complete surfaceList within 5000}
* D/CameraStateMachine: Publishing new public camera state CameraState{type=OPEN, error=StateError{code=4, cause=java.util.concurrent.TimeoutException: Cannot complete surfaceList within 5000}}
* E/Camera2CameraImpl: Unable to configure camera 0, timeout!
Contributor guide
Research direction
Start by reviewing the Android camera sample's handling of the CameraStateMachine and Camera2CameraImpl log paths, focusing on the surfaceList timeout while configuring camera 0. Reproduce the reported log sequence if possible and establish the conditions that trigger it; done requires a documented cause and a confirmed resolution or reproduction explanation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100