Comments (4)
Could you help to identify if this is also happening when using the cronet_http alone?
from dio.
I've created a new project and added only dio, native_dio_adapter and cronet-http.
Using Dio, this is the log (notice the last 200
is actually the result query, which was successful):
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Note: C:\Users\jckod\AppData\Local\Pub\Cache\hosted\pub.dev\jni-0.7.2\android\src\main\java\com\github\dart_lang\jni\JniPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
✓ Built build\app\outputs\flutter-apk\app-debug.apk.
W/OpenGLRenderer( 6658): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
W/OpenGLRenderer( 6658): Failed to initialize 101010-2 format, error = EGL_SUCCESS
I/Gralloc4( 6658): mapper 4.x is not supported
Connecting to VM Service at ws://127.0.0.1:52005/TX9UBB9WNeA=/ws
E/OpenGLRenderer( 6658): Unable to match the desired swap behavior.
W/ziparchive( 6658): Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000002e/DynamiteLoader.dm': No such file or directory
W/ziparchive( 6658): Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000002e/DynamiteLoader.dm': No such file or directory
I/DynamiteModule( 6658): Considering local module com.google.android.gms.cronet_dynamite:0 and remote module com.google.android.gms.cronet_dynamite:2611
I/DynamiteModule( 6658): Selected remote version of com.google.android.gms.cronet_dynamite, version >= 2611
V/DynamiteModule( 6658): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/System ( 6658): ClassLoader referenced unknown path:
D/nativeloader( 6658): Configuring clns-7 for other apk . target_sdk_version=34, uses_libraries=, library_path=/data/app/~~vLRq4ERImDC_oL4IzP0m5g==/com.google.android.gms-OvWGfV--stjaBafhWQxl6w==/lib/x86_64:/data/app/~~vLRq4ERImDC_oL4IzP0m5g==/com.google.android.gms-OvWGfV--stjaBafhWQxl6w==/base.apk!/lib/x86_64, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
W/ziparchive( 6658): Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/CronetDynamite.dm': No such file or directory
W/ziparchive( 6658): Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/CronetDynamite.dm': No such file or directory
D/nativeloader( 6658): Configuring clns-8 for other apk . target_sdk_version=33, uses_libraries=ALL, library_path=/data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/CronetDynamite.apk!/lib/x86_64:/data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/CronetDynamite.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
I/cr_CronetLibraryLoader( 6658): Cronet version: 119.0.6045.31, arch: x86_64
E/hy ( 6658): Exception fetching LoggerImpl class
E/hy ( 6658): java.lang.ClassNotFoundException: Didn't find class "com.google.net.cronet.telemetry.CronetLoggerImpl" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/CronetDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/CronetDynamite.apk!/lib/x86_64, /data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/CronetDynamite.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
E/hy ( 6658): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
E/hy ( 6658): at dalvik.system.DelegateLastClassLoader.loadClass(DelegateLastClassLoader.java:199)
E/hy ( 6658): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/hy ( 6658): at org.chromium.net.impl.CronetUrlRequestContext.<init>(:com.google.android.gms.dynamite_cronetdynamite@[email protected] (190800-0):90)
E/hy ( 6658): at org.chromium.net.impl.NativeCronetEngineBuilderImpl.build(:com.google.android.gms.dynamite_cronetdynamite@[email protected] (190800-0):14)
E/hy ( 6658): at org.chromium.net.CronetEngine$Builder.build(CronetEngine.java:313)
I/flutter ( 6658): 200
Now, using cronet_http, same error:
Restarted application in 947ms.
D/EGL_emulation( 6658): app_time_stats: avg=5001.00ms min=5001.00ms max=5001.00ms count=1
E/hy ( 6658): Exception fetching LoggerImpl class
E/hy ( 6658): java.lang.ClassNotFoundException: Didn't find class "com.google.net.cronet.telemetry.CronetLoggerImpl" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/CronetDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/CronetDynamite.apk!/lib/x86_64, /data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/CronetDynamite.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
E/hy ( 6658): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
E/hy ( 6658): at dalvik.system.DelegateLastClassLoader.loadClass(DelegateLastClassLoader.java:199)
E/hy ( 6658): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/hy ( 6658): at org.chromium.net.impl.CronetUrlRequestContext.<init>(:com.google.android.gms.dynamite_cronetdynamite@[email protected] (190800-0):90)
E/hy ( 6658): at org.chromium.net.impl.NativeCronetEngineBuilderImpl.build(:com.google.android.gms.dynamite_cronetdynamite@[email protected] (190800-0):14)
E/hy ( 6658): at org.chromium.net.CronetEngine$Builder.build(CronetEngine.java:313)
So, I guess is a cronet_http issue =\
from dio.
Opened an issue there: dart-lang/http#1116
from dio.
Thanks for the clarify.
from dio.
Related Issues (20)
- FormData and List of Int not working as expected. HOT 2
- flutter dynamic coockies management HOT 1
- post请求超时无反应 HOT 1
- Error Dio flutter web HOT 1
- upload file send timeout
- Header is out of order HOT 3
- `ResponseType.stream` is not working on web. HOT 1
- [🔔 Dio] sendTimeout cannot be used without a request body to send HOT 2
- `Transformer.isJsonMimeType` throws format exceptions without caught
- onError is not returning any error HOT 3
- Error when uploading image using MultipartFile.fromBytes in version 5.4.3+1 HOT 1
- 为什么dio的fromMap会将MultipartFile自动放入files字段中 HOT 1
- Error: The method 'debugLog' isn't defined for the class 'BrowserHttpClientAdapter'. HOT 1
- Version 5.5.0 brakes the web build HOT 1
- Is it now possible to use DIO / dio_web_adapter with Web/WASM? HOT 37
- Dio 5.5 broke compilation for WASM HOT 6
- ResponseType.stream returns responce all at once on Web HOT 1
- Date header not parsed correctly
- set proxy for BrowserHttpClientAdapter HOT 1
- Dio fetch can't catch error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dio.