admin管理员组文章数量:1404607
Problem :
I'm trying to implement background tasks in my Flutter app to add users online database when device is online using WorkManager. However, after initilaizing the WorkManager and running the app, I'm getting this error in the logs:
Software Configuration:
Java : 17.0.11
Flutter : 3.29.0
Android Studio : 2024.2.1 Patch 3
Error Log :
: FlutterJNI.loadLibrary called more than once
I/ResourceExtractor(13363): Found extracted resources res_timestamp-1-1741615888564
W/FlutterJNI(13363): FlutterJNI.prefetchDefaultFontManager called more than once
W/FlutterJNI(13363): FlutterJNI.init called more than once
E/flutter (13363): [ERROR:flutter/runtime/dart_isolate(869)] Could not resolve main entrypoint function.
E/flutter (13363): [ERROR:flutter/runtime/dart_isolate(170)] Could not run the run main Dart entrypoint.
E/flutter (13363): [ERROR:flutter/runtime/runtime_controller(557)] Could not create root isolate.
E/flutter (13363): [ERROR:flutter/shell/common/shell(668)] Could not launch engine with configuration.
I/Choreographer(13363): Skipped 74 frames! The application may be doing too much work on its main thread.
I/flutter (13363): Initializing WorkManager...
I/flutter (13363): WorkManager initialized successfully.
I/flutter (13363):
本文标签:
版权声明:本文标题:java - Why does Flutter WorkManager show the error: "Could not resolve main entrypoint function" and multiple 内容由网友自发贡献,该文观点仅代表作者本人,
转载请联系作者并注明出处:http://www.betaflare.com/web/1744841169a2627930.html,
本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论