Skip to content

Android crash: Failed resolution of: Leightbitlab/com/blurview/RenderEffectBlur #22

@marcshilling

Description

@marcshilling

Crashes on Android just trying to render the BlurView:

FATAL EXCEPTION: main
Process: com.xxx.yyy, PID: 12028
java.lang.NoClassDefFoundError: Failed resolution of: Leightbitlab/com/blurview/RenderEffectBlur;
    at com.sbaiahmed1.reactnativeblur.ReactNativeBlurView.setupBlurView(ReactNativeBlurView.kt:224)
    at com.sbaiahmed1.reactnativeblur.ReactNativeBlurView.onAttachedToWindow(ReactNativeBlurView.kt:182)
    at android.view.View.dispatchAttachedToWindow(View.java:23298)

React Native 0.77.3, new arch enabled. v3.1.0 of this library.

The code that's causing the crash:

<BlurView
  style={{ flex: 1 }}
  blurType="light"
  blurAmount={4}
  reducedTransparencyFallbackColor="white"
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions