jonataslaw / get_storage

A fast, extra light and synchronous key-value storage to Get framework
MIT License
359 stars 82 forks source link

PlatformException (PlatformException(channel-error, Unable to establish connection on channel., null, null)) #132

Open 007-liang opened 1 year ago

007-liang commented 1 year ago

[ +192 ms] E/flutter (19963): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null) [ ] E/flutter (19963): #0 GetStorage._init (package:get_storage/src/storage_impl.dart:49:7) [ ] E/flutter (19963): [ ] E/flutter (19963): #1 new GetStorage._internal. (package:get_storage/src/storage_impl.dart:30:7) [ ] E/flutter (19963): [ ] E/flutter (19963): #2 init (package:front_satoshi_ai/main.dart:16:3) [ ] E/flutter (19963): [ ] E/flutter (19963): #3 main (package:front_satoshi_ai/main.dart:20:3) [ ] E/flutter (19963): [ ] E/flutter (19963):

Wing-Li commented 1 year ago

+1 Appeared suddenly, never before

Wing-Li commented 1 year ago

我打开 Android项目 重新编译一下 gradle ,然后就好了。 你可以尝试一下。

007-liang commented 1 year ago

好的,谢谢

palorotolo commented 11 months ago

我打开 Android项目 重新编译一下 gradle ,然后就好了。 你可以尝试一下。

还是不行,感觉是和项目自己的flutter和android通讯代码冲突了。

YeFei572 commented 10 months ago

我打开 Android项目 重新编译一下 gradle ,然后就好了。 你可以尝试一下。

还是不行,感觉是和项目自己的flutter和android通讯代码冲突了。

貌似是这么回事,你怎么解决的呢?