CameraKit / blurkit-android

The missing Android blurring library. Fast blur-behind layout that parallels iOS.
MIT License
3.72k stars 309 forks source link

Conflict with CameraKit library while using both together #57

Open usmanrana07 opened 5 years ago

usmanrana07 commented 5 years ago

I'm using CameraKit and BlurKit together and it gives following error while compiling the project. More than one file was found with OS independent path 'lib/armeabi-v7a/libRSSupport.so'

wuting1994 commented 5 years ago

I'm using CameraKit and BlurKit together and it gives following error while compiling the project. More than one file was found with OS independent path 'lib/armeabi-v7a/libRSSupport.so'

Hello, can you tell me how you solved this problem?

usmanrana07 commented 5 years ago

You can place this in your app gradle like this:

android { ... packagingOptions { pickFirst 'lib/arm64-v8a/librsjni.so' pickFirst 'lib/armeabi-v7a/libRSSupport.so' pickFirst 'lib/x86/librsjni.so' pickFirst 'lib/x86_64/librsjni.so' pickFirst 'lib/arm64-v8a/libRSSupport.so' pickFirst 'lib/armeabi-v7a/librsjni.so' pickFirst 'lib/x86/libRSSupport.so' pickFirst 'lib/x86_64/libRSSupport.so' } }