Relative Content

Tag Archive for fluttergrpc

PathNotFoundException: Cannot open file ‘assets/crt/ca_bundle.crt’ in Flutter on Android

I’m trying to build flutter application, and I’m encountering an error when running the app on Android. The same code works perfectly fine on iOS. The error message is:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PathNotFoundException: Cannot open file, path = ‘assets/crt/ca_bundle.crt’ (OS Error: No such file or directory, errno = 2)