saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
2.99k stars 1.2k forks source link

How to import 'libuvccamera' and 'usbCameraCommon' to new project #491

Closed icetea0822 closed 5 years ago

icetea0822 commented 5 years ago

I'have put this implementation("com.serenegiant:common:${commonLibVersion}") { exclude module: 'support-v4' } and maven { url 'http://raw.github.com/saki4510t/libcommon/master/repository/' } to my project ,but i can't find module 'libuvccamera' and 'usbCameraCommon' ,how can i put this two modules to my project? Thanks!

LouisChain commented 5 years ago

copy libuvccamera and usbcameracommon to the same level as app folder open settings.gradle, add the following 2 lines:

include ':libuvccamera' include ':usbCameraCommon'

icetea0822 commented 5 years ago

Thanks a lot

EjazAmir commented 3 years ago

hey, i did the same but i got some errors. AAPT: error: duplicate value for resource 'attr/orientation' with config ''. AAPT: error: resource previously defined here.

kindly prvode any solution, im hell tried all things but no luck.