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.
Related
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
I am trying to uncompress a Zip file. Using the latest Qt 5.15 on an Android device.
QFile downloadedZipFile(VALID_ZIP_LOCATION);
QuaZip zip(&downloadedZipFile);
if (!zip.open(QuaZip::mdUnzip)) {
qDebug() << "error" << zip.getZipError();
}
If my file is above 2GB it am getting an error -1000.
Files below 2GB are working as expected.
I tried
zip.setZip64Enabled(true);
before opening the file without success.
I also tried to use the constructor
QuaZip zip(VALID_ZIP_LOCATION)
Upon accessing the zip later I also get the following error:
QuaZip::goToFirstFile(): ZIP is not open in mdUnzip mode
which makes sense, as it couldn't open the file in the first place.
Any help is appreciated, as I am struggling with this Problem for a few days already.
The problem is an unresolved QT-Bug. Where QFile::seek cannot exceed a limit above a 32Bit Integer.
https://bugreports.qt.io/browse/QTBUG-84033
After identifying the problem I could resolve this issue by implementing native code for unzipping files in java for android.
Since iPhones are only running on 64Bit systems the native implementation did not need to be ported to ObjC.
I'm unable to download a zip folder from server for android 10 API 29. It is working fine for versions lower than API 29. I'm also using a 3rd party pdf reader library called MuPDF.
Two lines of error which caught my eyes are:
2019-09-25 17:55:52.198 9520-9593/com.smedia.wrapper E/IOException: No such file or directory
2019-09-25 17:55:54.084 619-9594/? E/ResolverController: No valid NAT64 prefix (100, <unspecified>/0)
Does anybody else is facing this issue? Am I missing something? Any help appreciated, thanks.
I am trying to implement firebase with xamarin.android but after downloading some nugat packages I started getting different errors and the latest one is as below:
Severity Code Description Project File Line Suppression State
Error The "XamarinBuildAndroidAarProguardConfigs" task failed unexpectedly.
System.IO.InvalidDataException: Central Directory corrupt. ---> System.IO.IOException: An attempt was made to move the file pointer before the beginning of the file.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin)
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
--- End of inner exception stack trace ---
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
at System.IO.Compression.ZipArchive..ctor(Stream stream, ZipArchiveMode mode, Boolean leaveOpen, Encoding entryNameEncoding)
at Xamarin.Build.Download.XamarinBuildAndroidAarProguardConfigs.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() FireBaseSolution
android target framework : 25
Some of installed references :
Xamarin.Android.Support.v4
Xamarin.Android.Support.v7.AppCompat
Xamarin.GooglePlayServices.Base
Xamarin.Firebase.Messaging
Please guide me how to resolve it.
Thanks
For me the solution was in downgrading version nuget package "Xamarin.Build.Download" to version 4.4
Answering on an old question, but this may help others if they ended up in the same situation as me (not being allowed to modify the version of Xamarin.Build.Download), here's how I fixed it:
I deleted the folders for C:\Users(username)\AppData\Local\Xamarin and C:\Users(username)\AppData\Local\XamarinBuildDownloadCache and rebuilt my solution.
What I found was that evening using the NuGet cache clearing tool in Visual Studio, these directories remained untouched.
I can only surmise that this issue can also be caused by file corruption (I might have had a faulty network connection), and the DownloadCahe blocked attempting to get the "clean" files.
On MacOS I had to wipe all folders concerning Xamarin in "~/Library/Caches". Afterwards it would build fine.
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.