AndroidUSBCamera
AndroidUSBCamera copied to clipboard
Error "jetified-common-4.1.1\res\values\values.xml:687:5-705:22: AAPT: error: duplicate value for resource 'attr/orientation' with config ''."
As soon as I add the following to build.gradle:
implementation 'com.github.jiangdongguo:AndroidUSBCamera:2.3.4'
building an app generates the following error:
jetified-common-4.1.1\res\values\values.xml:687:5-705:22: AAPT: error: duplicate value for resource 'attr/orientation' with config ''.
Yes, I have taken a look at this SO question, but the solution does not work.
The app works perfectly without using jiangdongguo:AndroidUSBCamera. I am not sure this is necessarily the library's issue, but I hope to get a tip here to address it.
I think it is related to a resource error mainly. First, Please do "Invalidate caches / Restart" in your android studio and then if it does not fix your problem then please downgrade the App/Gradle libraries.
@zipswich I have the latest version of Gradle installed, I added a library, added NDK and everything works without errors
I also encounter problems that "duplicate value for resource 'attr/orientation' with config '' and how did you deal with it?
Thank you for your email. If you need my help, Please contact me on Skype.
my skype : live:.cid.e5675d33daad7e3f
On Mon, Dec 7, 2020 at 4:42 AM shiduan [email protected] wrote:
I also encounter problems that "duplicate value for resource 'attr/orientation' with config '' and how did you deal with it?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jiangdongguo/AndroidUSBCamera/issues/251#issuecomment-739614029, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDPFF6KJTTFDYLJVPEEMOLSTQXGTANCNFSM4PCVEV2Q .
who had deal whit "duplicate value for resource 'attr/orientation' with config "??
I have the same issue, any fix ?