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

Problem when minifyEnabled=true #14

Closed
heartbeep opened this issue Nov 25, 2015 · 2 comments
Closed

Problem when minifyEnabled=true #14

heartbeep opened this issue Nov 25, 2015 · 2 comments

Comments

@heartbeep
Copy link

When I use proguard with minifyEnabled option I get this fatal crash on launch:

java.lang.RuntimeException: Unable to start activity ComponentInfo{...}: android.view.InflateException: Binary XML file line #67: Error inflating class com.fivehundredpx.android.blur.BlurringView

But with minifyEnabled turned off, it works fine.

Are there any proguard rules I need to add?

@AndrazP
Copy link

AndrazP commented Dec 17, 2015

Add:

-keep class android.support.v8.renderscript.** { *; }

to your proguard file.

@heartbeep
Copy link
Author

Thank you, that works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants