Flutter can not find file on release mode

Issue

This Content is from Stack Overflow. Question asked by Ahmed Sa’eed

When using package 1 or package 2 for tracking the user, It’s working fine in debug mode, But when generate release mode APK and trying to test on device this error obtains.

E/flutter (19926): [ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_LookupLibrary: library ‘…/tracking_service.dart’ not found.

What is the meaning of this error? and How can I solve it?



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?