I'm trying to make a blurred background for a fragment. I use the pretty old lib https://github.com/Dimezis/BlurView
It worked until I created and added the certificate and signingConfigs to my grade build file. After that, the blur effect desaapeared and my logkat showed an error:
E/RenderScript: Failed loading RS driver: dlopen failed: library "libRSDriver_adreno.so" not found
E/RenderScript: Failed to load runtime libRSDriver_adreno.so, loading default
I don't know how to solve the issue. I've never worked with RenderScript. Mb there is other way to add blur for android before API 31
Related
After I rebuilt my android folder (some settings got corrupted) images will not work (using Image React Native component). I'm not sure what the issue could be. Here is an error I'm getting:
E/MediaHTTPConnection: java.io.IOException: Canceled
at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:172)
at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:144)
at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:106)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:400)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:333)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:483)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:429)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:560)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:106)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:30)
at android.media.MediaHTTPConnection.seekTo(MediaHTTPConnection.java:293)
at android.media.MediaHTTPConnection.getSize(MediaHTTPConnection.java:466)
at android.media.IMediaHTTPConnection$Stub.onTransact(IMediaHTTPConnection.java:151)
at android.os.Binder.execTransactInternal(Binder.java:1056)
at android.os.Binder.execTransact(Binder.java:1029)
To reiterate: I haven't changed the Image code at all. I think some deps auto-updated during the rebuild. It seems to be an okttp issue.
I tried to install my app in different versions of Android above 23 and it works perfectly.
I have the min sdk is 21 (Android 5.0) so I tried to test it in android 6.0 & 5.0 and I have the following error :
E/cr_VariationsUtils: Failed reading seed file
"/data/user/0/app_package/app_webview/variations_seed":
/data/user/0/app_package/app_webview/variations_seed (No such file
or directory)
Any idea ?
Probably not the same issue(?),but may help someone else.
I had a similar issue on my Android app, error was coming from the ION library and the error msg was:
Failed reading seed file "/data/user/0/{package name}/app_webview/variations_seed_new": /data/user/0/{package name}/app_webview/variations_seed_new (No such file or directory)
2021-12-10 15:30:56.177 15083-15225/{package name} E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
And the solution (for me) was to update the ION version I was using.
I had: implementation 'com.koushikdutta.ion:ion:3.0.4'
and the fix was to change it to:
implementation 'com.koushikdutta.ion:ion:3.1.0'
because android latest version androidx does not consist such file so search for that file that file in androidx library
Are you noticing any crashes in your app or any ANRs?
You don't need to worry about these logs errors, they are internal errors in WebView and they should not affect your app.
When I try to launch image_view a window display shows up and freezes .
The terminal output is as follows :
(image_view:29293): GLib-GObject-WARNING **: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'
(image_view:29293): GLib-GObject-WARNING **: instance of invalid non-instantiatable type '(null)'
(image_view:29293): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
I'm running Ubuntu 14.04.2 release using ROS-Indigo
A similar error is reported on this site but with no fix
Also rqt_image_viewer works as given in the link above but only for uncompressed images and hence i cannot view images sent over by other camera devices for eg android-camera since they are compressed as shown below
Rebuilding OpenCV with Qt4 or Qt off in cmake fixes this problem
More info in this.
link
I developed applications which use native code. All of a sudden those are not working, giving error "Unsatisfied link error: Couldn't load native library from loader dalvik.System.pathClassLoader, findLibrary returned null. I restarted adt twice. Still getting the same error. Applications which are not using native code, are working fine.
The error implies that the program is not able to find the shared libraries that you would have created.
Which devices did you try it on ?
You can check once if they are available in libs directory of your app . [/data/data/app_id/lib ]. Also check if armv7 support is required and if the directory is there in the libs , is .so present there.
Now it's working. I deleted all my virtual devices and then created a new one. However it's showing "skipped 264 frames. application may be doing too much work on main thread" many times and whenever we press a button, displaying this message in log "error loading /system/media/audio/ui/Effect_Tick.ogg"
thanks.
My Emacs version is 23.3.1, I am want to setup an android develop environment. I download android-mode.el
and modify .emacs to load it;
(add-to-list 'load-path "~/.emacs.d/site-lisp/")
(require 'android-mode)
(custom-set-variables
'(android-mode-avd "test")
'(android-mode-sdk-dir "/opt/android-sdk/"))
when loading that file, it has error:
Warning (initialization): An error occurred while loading `/home/htang/.emacs':
File error: Cannot open load file, cl-lib
I know the cl-lib is new feature since emacs24 or higher, how can I resolve this problem to make it work on my Emacs23.3 version?
You can install cl-lib (for older Emacsen) from GNU ELPA.