Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoClassDefFoundError: android.graphics.drawable.RippleDrawable #222

Closed
MoonFMBot opened this issue Jun 22, 2018 · 4 comments
Closed

Comments

@MoonFMBot
Copy link

Android 4.3.1
suport library 27.1.1

@osdnk
Copy link
Contributor

osdnk commented Jun 22, 2018

Hi, @MoonFMBot
I just compiled Example app for this version of Android and everything seems to be workable. Would you mind giving us some sample repository for this issue? What's you compileSdkVersion?

@MoonFMBot
Copy link
Author

MoonFMBot commented Jun 23, 2018

Hi, @osdnk here is the repository
https://github.com/MoonFMBot/rngh_demo

<RectButton
          style={{ backgroundColor: '#FF0000', borderRadius: 15 }}
        >

when the RectButton style contain both background and borderRadius,it will crash on android 4.x

E/AndroidRuntime: FATAL EXCEPTION: main
    java.lang.NoClassDefFoundError: android.graphics.drawable.RippleDrawable
        at com.swmansion.gesturehandler.react.RNGestureHandlerButtonViewManager$ButtonViewGroup.updateBackground(RNGestureHandlerButtonViewManager.java:101)
        at com.swmansion.gesturehandler.react.RNGestureHandlerButtonViewManager$ButtonViewGroup.access$000(RNGestureHandlerButtonViewManager.java:23)
        at com.swmansion.gesturehandler.react.RNGestureHandlerButtonViewManager.onAfterUpdateTransaction(RNGestureHandlerButtonViewManager.java:203)
        at com.swmansion.gesturehandler.react.RNGestureHandlerButtonViewManager.onAfterUpdateTransaction(RNGestureHandlerButtonViewManager.java:20)
        at com.facebook.react.uimanager.ViewManager.updateProperties(ViewManager.java:33)
        at com.facebook.react.uimanager.NativeViewHierarchyManager.createView(NativeViewHierarchyManager.java:232)

@osdnk
Copy link
Contributor

osdnk commented Jul 10, 2018

Thank you for this issue.
I need to admit that the error was extremely stupid and I am sorry for wasting your time for preparing this issue

@osdnk osdnk added the bug label Jul 10, 2018
osdnk added a commit that referenced this issue Jul 10, 2018
…radius in button 😵 (#248)

* Fix issue

* Fix checking OS version condition while applying radius 😵
@osdnk
Copy link
Contributor

osdnk commented Jul 12, 2018

Seems to be fixed

@osdnk osdnk closed this as completed Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants