Closed blowback closed 3 years ago
Use this in app/build.gradle
in example app.
android {
.....
packagingOptions {
pickFirst '**/*.so'
}
....
}
That sorted it! Many thanks.
@blowback I have fixed this on master. If you pull again, you don't need to make that change in example app.
FYI fix on master didn't work for me, I still had to make the above change to the example's app/build.gradle
Trying to build the example app for android, I get the above build failure. A link is mentioned https://developer.android.com/studio/preview/features#automatic_packaging_of_prebuilt_dependencies_used_by_cmake but actually see here https://developer.android.com/studio/releases/gradle-plugin#cmake-imported-targets - none of this appears to be relevant tho.