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)
- [Web] ERROR_TYPE: DioExceptionType.connectionError HOT 2
- Flutter web deployment HOT 1
- [Dio native adapter] proxy HOT 2
- Exception has occurred. DioException (DioException [bad response]: This exception was thrown because the response has a status code of 401 and RequestOptions.validateStatus was configured to throw for this status code. The status code of 401 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled" Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code. ) HOT 1
- error 404 when trying to download a file. HOT 3
- How to mock Dio.interceptors.add when write unit test? HOT 1
- Conditionally allows relative path for `baseUrl` HOT 11
- Need a way to catch DioException [request cancelled] from the caller code HOT 3
- 有没有大佬帮我看看我的代码有什么问题,handler.resolve(res) 后,原始请求返回值一直为空,不知道为什么? HOT 1
- I don't know where the problem is with my code. After handler.reslove(res), the return value of the original request is always empty. HOT 3
- [Flutter Web] dio.get() sends options. HOT 1
- How to use handler.reject in onError of QueuedInterceptor HOT 1
- http请求头不标准,大小写全部错误 HOT 1
- Error using interceptors HOT 1
- [native_dio_adapter] update cronet_http version HOT 1
- Dio REST call response is slow than Postman HOT 5
- Response Header is missing except content-length & content-type HOT 5
- dio https connect can not keep Alive? HOT 13
- onError not working in dio interceptor HOT 5
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.