首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Flutter android应用程序在一段时间的操作后崩溃

Flutter android应用程序在一段时间的操作后崩溃
EN

Stack Overflow用户
提问于 2020-10-02 07:59:21
回答 1查看 215关注 0票数 0

我的android应用程序在正常工作了大约5分钟后崩溃了,没有任何原因。我试着找出可能是什么问题,但没有线索。一些帮助将是很好的。

我在控制台上找到了这个:

代码语言:javascript
复制
W/s.myname.MyApp(14516): Accessing hidden method Lcom/msic/qarth/PatchStore;- 
>createDisableExceptionQarthFile(Ljava/lang/Throwable;)Z (blacklist, JNI)
E/s.myname.MyApp(14516): [qarth_debug:]  get PatchStore::createDisableExceptionQarthFile method fail.
E/AndroidRuntime(14516): FATAL EXCEPTION: Timer-14
E/AndroidRuntime(14516): Process: yas.myname.MyAppName, PID: 14516
E/AndroidRuntime(14516): java.lang.RuntimeException: Methods marked with @UiThread must be executed 
on the main thread. Current thread: Timer-14
E/AndroidRuntime(14516):    at 
io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread(FlutterJNI.java:992)
E/AndroidRuntime(14516):    at 
io.flutter.embedding.engine.FlutterJNI.invokePlatformMessageResponseCallback(FlutterJNI.java:779)
E/AndroidRuntime(14516):    at 
io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:144)
E/AndroidRuntime(14516):    at 
io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:238)
E/AndroidRuntime(14516):    at 
com.anish.trust_fall.TrustFallPlugin$1.gotLocation(TrustFallPlugin.java:43)
E/AndroidRuntime(14516):    at 
com.anish.trust_fall.MockLocation.MockLocationCheck$GetLastLocation.run(MockLocationCheck.java:90)
E/AndroidRuntime(14516):    at java.util.TimerThread.processTask(Timer.java:569)
E/AndroidRuntime(14516):    at java.util.TimerThread.mainLoop(Timer.java:527)
E/AndroidRuntime(14516):    at java.util.TimerThread.run(Timer.java:512)
D/ZrHung.AppEyeUiProbe(14516): stop checker.
I/Process (14516): Sending signal. PID: 14516 SIG: 9
Lost connection to device.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-10-02 21:28:45

我不知道为什么人们觉得错误报告这么难读。问题出在您的trust_fall库上。这一点在

代码语言:javascript
复制
E/AndroidRuntime(14516):    at 
com.anish.trust_fall.TrustFallPlugin$1.gotLocation(TrustFallPlugin.java:43)

快速搜索一下,问题是already reported,没有得到解决。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64164625

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档