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

Issue with RenderScript dependency on Android 7.0 #17

Open
Jorpheus7 opened this issue Aug 21, 2019 · 0 comments
Open

Issue with RenderScript dependency on Android 7.0 #17

Jorpheus7 opened this issue Aug 21, 2019 · 0 comments

Comments

@Jorpheus7
Copy link

Hello !
I have an issue with the BlurLockView library when running on Android 7.0. When initializing, there is a crash with the log :
android.renderscript.RSRuntimeException: RenderScript code cache directory uninitialized. at android.renderscript.RenderScript.getCachePath(RenderScript.java:1392) at android.renderscript.RenderScript.internalCreate(RenderScript.java:1430) at android.renderscript.RenderScript.create(RenderScript.java:1526) at android.renderscript.RenderScript.create(RenderScript.java:1485) at android.renderscript.RenderScript.create(RenderScript.java:1459) at android.renderscript.RenderScript.create(RenderScript.java:1446) at com.nightonke.blurlockview.BlurView.initializeRenderScript(BlurView.java:129) at com.nightonke.blurlockview.BlurView.<init>(BlurView.java:48)

I looked up online, it seems it is necessary to use android support v8 renderscipt dependency, or androidx.renderscript.RenderScript package, in order to avoid this problem.

Thanks !

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

1 participant