Attempt to execute code removed by Dart AOT compiler (TFA), how to troubleshoot this issue

馋奶兔 提交于 2021-01-29 13:01:04

问题


I see this error once I install the release apk - "Attempt to execute code removed by Dart AOT compiler (TFA)" on the Material Widget. How do I resolve this?

I used charts_flutter: ^0.6.0 to implement some charts in my flutter project then tested the project using the "flutter run" command. It was running fine. After completing my project I generated a Release APK with the command "flutter build apk --release". Now I see this error once I install the release apk - "Attempt to execute code removed by Dart AOT compiler (TFA)". How do I resolve this?


回答1:


charts_flutter: ^0.5.0 with charts_common: ^0.5.0 and charts_flutter: ^0.7.0 with charts_common: ^0.7.0 is working fine. 0.7.0 has been released yesterday.



来源:https://stackoverflow.com/questions/57606159/attempt-to-execute-code-removed-by-dart-aot-compiler-tfa-how-to-troubleshoot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!