在模拟器以及物理设备上使用应用程序时出现颤振问题

时间:2019-12-09 02:08:19

标签: flutter dart

我正在尝试测试我的应用程序,但是这种情况一直在发生。我所做的唯一可能会产生此结果的方法是使用http://twitter.com/pag升级抖动。当我运行var regex1 = /(https?:\/\/)?(www\.)?twitter\.com\/\w+(?!\/\w|\w)/ig; var shouldMatch = 'https://twitter.com/page is a valid url'; var shouldNotMatch = 'https://twitter.com/page/status/123 is not valid'; console.log('regex1 should match', shouldMatch.match(regex1)); console.log('regex1 should return []', shouldNotMatch.match(regex1));时,一切都会过去。我还运行过flutter upgrade,所以我的软件包应该正确。

我实际上不确定错误是什么,否则我会更具体,但这是错误回溯:

flutter doctor

1 个答案:

答案 0 :(得分:0)

我在Mac上使用10.15.1。在macOS Catalina中需要注意的一点是,苹果对允许您打开的应用程序的要求更加严格,因此,现在“安全性”和“隐私”设置中的唯一选项是“ App Store”和“ App Store和确定的开发人员”。如果您按照本文中的步骤进行操作,则可以从似乎已消失的任何地方下载应用程序

https://www.imore.com/how-open-apps-anywhere-macos-catalina-and-mojave