-
Notifications
You must be signed in to change notification settings - Fork 34
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
So file error on multiple devices #3
Comments
@rohankandwal thanks for Log cat i will resolve it as soon as possible |
@rohankandwal if you want to take this issue you can feel free to contribute. |
@sparrow007 Not very expert on RenderScript, but create and used the following class, which never caused any crashes so far. The app is already live, still didn't get one.
Let me know if above code makes any sense to you and it can be of some help. |
@rohankandwal apparently the error ocurrs in this line: RenderScript rs = RenderScript.create(ctx); but only in apps that are already using "androidx" and with OS 5.0 and 5.1 apparently. |
I've fixed up that issue to change: |
I was getting same error in only release builds. I've added below lines in my Proguard file and the issue got solved
|
Caused by androidx.renderscript.RSRuntimeException: Error loading RS jni library: java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/xxxx-1/lib/arm64/librsjni_androidx.so" Support lib API: 2301
at androidx.renderscript.RenderScript.internalCreate(RenderScript.java:1414)
at androidx.renderscript.RenderScript.create(RenderScript.java:1599)
at androidx.renderscript.RenderScript.create(RenderScript.java:1549)
at androidx.renderscript.RenderScript.create(RenderScript.java:1525)
at androidx.renderscript.RenderScript.create(RenderScript.java:1512)
at com.jackandphantom.blurimage.BlurImage.blur(BlurImage.java:53)
at com.jackandphantom.blurimage.BlurImage$AsyncBlurImage.doInBackground(BlurImage.java:155)
at com.jackandphantom.blurimage.BlurImage$AsyncBlurImage.doInBackground(BlurImage.java:146)
at android.os.AsyncTask$2.call(AsyncTask.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
The text was updated successfully, but these errors were encountered: