question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[v4] | Duplicate class eightbitlab.com.blurview.BlurAlgorithm

See original GitHub issue

Bug

It’s seems that current version doesn’t compatible with the latest BlurView library: https://github.com/Dimezis/BlurView/releases/tag/version-2.0.2

I’m trying build my project and in Android Studio and get an error:

Duplicate class eightbitlab.com.blurview.BlurAlgorithm found in modules jetified-BlurView-version-2.0.2-runtime (com.github.Dimezis:BlurView:version-2.0.2) and jetified-blurview-1.6.6-runtime (com.eightbitlab:blurview:1.6.6)

This is due to the fact that you are applying such a patch with the old version of BlurView:

https://github.com/gorhom/react-native-bottom-sheet/blob/master/example/bare/patches/%40react-native-community%2Bblur%2B3.6.0.patch

Environment info

Library Version
@gorhom/bottom-sheet 4.3.1
react-native 0.67.4
react-native-reanimated 2.2.4
react-native-gesture-handler 2.5.0

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

1reaction
bulkinavcommented, Aug 19, 2022

@freemanUA I solved this problem by deleting the following line form gradle file:

implementation('com.eightbitlab:blurview:1.6.6') {
        force = true
    }

As you can see, the old version of the library was indicated here. But in fact, this implementation is not necessary.

0reactions
github-actions[bot]commented, Sep 25, 2022

This issue was closed because it has been stalled for 5 days with no activity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BlurView library has no effect on the screen - Stack Overflow
I tried to use Dimezis's BlurView library to create a blur effect on android, but it hasn't ... MainActivity"> <eightbitlab.com.blurview.
Read more >
How to Fix Duplicate Class Error in Android Studio - YouTube
How to Fix Duplicate Class Error in Android Studio .Facebook Page : https://www.facebook.com/Code-Prof-110511874050372.
Read more >
Duplicate class error. Fixed - YouTube
How to fix a Duplicate class error in android studio.This error occurs when the Android Plugin can't decide which class to use when...
Read more >
Duplicate class android.support.v4.app ... - YouTube
How to fix Duplicate class android.support. v4.app.INotificationSideChannel found in modules core-1.7.0-runtime (androidx.core:core:1.7.0) ...
Read more >
Duplicate class eightbitlab.com.blurview.BlurAlgorithm #479
Hello,. I trying build project with the latest version 4.1.0 in Android Studio and get an error: Duplicate class eightbitlab.com.blurview.BlurAlgorithm ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found