LuckSiege / LuckSiege/PictureSelector

使用自定义相机,拍出来的照片是黑色的

Open
#2,180 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

大神您好,我用了自定义相机模式,引入了 implementation 'androidx.camera:camera-core:1.0.0-rc04'
implementation 'androidx.camera:camera-camera2:1.1.0-alpha10',这两条依赖,但是我拍出来的照片都是黑色的,去输出路径看拍出来的照片了,确实是黑的。但是用您demo的自定义相机拍出来的照片是正常的,是因为我少配置了什么吗?希望您可以回复我一下,十分感谢!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the custom camera setup with the repository's demo custom-camera configuration, focusing on the two AndroidX Camera dependencies listed in the report. Reproduce the capture and inspect the saved output; done means custom-camera photos are no longer black, as in the demo.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.