我将 Flutter 升级到 2.1,但软件包在发布模式下无法运行。
首先,包imei_plugin 在发布模式下崩溃了Unhandled Exception: MissingPluginException(No implementation found for method getImeiMulti)
,但在调试模式下没有崩溃。我删除了这个包。
现在包 sqflite 在发布模式下崩溃了 Unhandled Exception: MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite)
,但在调试模式下没有崩溃。我必须使用这个包。我将此软件包升级到最新版本,但它再次崩溃。
我该如何解决这个问题?