duanhong169 / Camera

📸 Use Android camera to take pictures and videos, based on `camera2` api.
Apache License 2.0
130 stars 45 forks source link

cant integrate into existing project #6

Closed suarezu closed 5 years ago

suarezu commented 5 years ago

when implementation 'com.github.duanhong169:camera:1.0.3' is added to app/build.gradle, sync reports this error:

duplicate value for resource 'attr/mode' with config ''.

duanhong169 commented 5 years ago

Seems that you used another library which contains a class named CameraView too? Can you provide some information about that library?

suarezu commented 5 years ago

Genius! yes, that's the problem. I am testing quite a lot camera libraries, so some other library caused the chaos.

duanhong169 commented 5 years ago

Greate, closed for now.