skydoves / Cloudy

☁️ Jetpack Compose blur effect library, which falls back onto a CPU-based implementation to support older API levels.
Apache License 2.0
789 stars 28 forks source link

2 files found with path 'lib/arm64-v8a/librenderscript-toolkit.so' from inputs: #24

Closed akardas16 closed 4 months ago

akardas16 commented 4 months ago

Please complete the following information:

Describe the Bug:

When I add dependency, build failed with error below

2 files found with path 'lib/arm64-v8a/librenderscript-toolkit.so' from inputs:
 - C:\Users\Abdullah\.gradle\caches\transforms-3\23515a2d5ac95b51b5e088c48f2c0985\transformed\landscapist-transformation-2.3.2\jni\arm64-v8a\librenderscript-toolkit.so
 - C:\Users\Abdullah\.gradle\caches\transforms-3\ff9c9829dce8f7dd285ca53b4fe40b06\transformed\cloudy-0.1.2\jni\arm64-v8a\librenderscript-toolkit.so
If you are using jniLibs and CMake IMPORTED targets, see
https://developer.android.com/r/tools/jniLibs-vs-imported-targets

Expected Behavior:

A clear description of what you expected to happen.

skydoves commented 4 months ago

Hi @akardas16, sorry for the late response, You can resolve this issue by adding this to the module that uses Cloudy or your app module.

packagingOptions {
    pickFirsts.add("lib/*/librenderscript-toolkit.so")
}
akardas16 commented 1 month ago

Hi @akardas16, sorry for the late response, You can resolve this issue by adding this to the module that uses Cloudy or your app module.

packagingOptions {
    pickFirsts.add("lib/*/librenderscript-toolkit.so")
}

Still not working. I have got same error after adding it