0

要求是在单击按钮时退出应用程序。我创建了一个 MethodChannel 来做到这一点。利用数组越界的原理,分别在数组的两边越界,在iOS上crash但在Android上只是个例外。我想这可能是flutter的机制,如何处理这个问题,或者其他方法。

异常是:E/flutter (16372): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] 未处理异常:PlatformException(error, length=3; index=200, null,

4

0 回答 0