Closed renetik closed 2 years ago
@renetik
Hello! Could you elaborate more on how you've managed to do that? Did you just rename conflicting .so
files?
So the poroblem is in CMakeLists.txt `add_library(native-lib ....
They basically defined name native-lib
and looks like this can cause problems when mixing multiple native libraries in android.
What I did was that I renamed my own native code to more meaningful name so it don't collide with this...
So now I have add_library(renetik-instruments-library-audio SHARED ${native_lib_sources} ${cpp_src})
before I had there add_library(native-lib SHARED ${native_lib_sources} ${cpp_src})
and it did some kind of conflict..
@renetik implementation 'com.github.lincollincol:Amplituda:v2.1.5'
I believe this is bug to use common name like this as if other library use it as well you have to fork one and edti manualy to be able to use both in same project. It happened to me so just a suggestion/bug to improve project ;)