-
Notifications
You must be signed in to change notification settings - Fork 344
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
BlurView is not working in signed-release apk #15
Comments
No proguard rule needed. Does it crash or it just not working. Can you
check logcat.
…On Aug 7, 2017 5:17 AM, "madiguzel" ***@***.***> wrote:
Hi,
Thanks for this useful component. It works in debug mode as expected but i
cannot get the blurview work in signed release apk. Is there any
configuration for release mode? Any proguard rules?
*SIGNED RELEASE APK*
[image: release]
<https://user-images.githubusercontent.com/1685245/29007127-8248ded8-7b05-11e7-8783-fb60766de100.jpg>
*DEBUG APK*
[image: debug]
<https://user-images.githubusercontent.com/1685245/29007128-82815970-7b05-11e7-8648-b7694ca8bd4e.jpg>
Thanks in advance...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAttUzSZ0u0nnDA95wpomo56BRRawAIDks5sVi2FgaJpZM4Ou2D->
.
|
Hi again, It doesn't crash but I see lots of error logs in logcat like: 20:40:57.675 11034-11034/? E/RenderScript_jni: Error loading RS jni library: java.lang.UnsatisfiedLinkError: JNI_OnLoad failed on a previous attempt to load "/data/app/com.example.myapp-1/lib/arm64/librsjni.so" |
Hi again, I founded the solution. It works perfectly now. When minifyEnabled is true in gradle file, we need to add the following proguard rule:
|
After migration to androidx library can also help you: -keep class androidx.renderscript.** { *; } |
Hi,
Thanks for this useful component. It works in debug mode as expected but i cannot get the blurview work in signed release apk. Is there any configuration for release mode? Any proguard rules?
SIGNED RELEASE APK
DEBUG APK
Thanks in advance...
The text was updated successfully, but these errors were encountered: