Capactior custom plugin and aar integration

Hi All,

can anyone tell me if there is any specific way to do this?

I have tried to put the .aar in a libs folder, then I setup the gradle config, inside Android:

repositories {
flatDir {
dirs ‘libs’
}
}

And in the dependencies:

implementation(name: ‘sdk-library-release’, ext: ‘aar’)

I put the libs folder inside android folder.

When I try to build the app with the plugin I get this error:

More than one file was found with OS independent path ‘lib/folder/libname.so’

I know this is rough but, because I don’t know how to exactly do it, I can not provide more details. Any ideas?

Thanks a lot.