我在我的应用程序中使用HMS插件(华为位置工具包),在调试模式下一切正常工作,但是当我打开发布模式时,它会抛出以下错误,即使我可以正常访问华为Location:
E/flutter (28815): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(-5, -5: Core error, null) E/flutter (28815): Warning: This VM has been configured to produce stack traces that violate the Dart standard.我不知道是什么引起了这个问题。有什么想法吗?
发布于 2020-08-06 10:47:21
您能否检查您是否正确地在AppGallery控制台中添加了SHA。
请检查您的json文件是否在应用程序文件夹中的正确位置。
请将HMS从混淆中排除在外。
https://stackoverflow.com/questions/63280882
复制相似问题