C# 无法使用Visual Studio 2019 for Mac和React本机Android emulator验证HTTPS连接

C# 无法使用Visual Studio 2019 for Mac和React本机Android emulator验证HTTPS连接,c#,android,reactjs,react-native,.net-core,C#,Android,Reactjs,React Native,.net Core,我已经使用Visual Studio 2019 for Mac创建了一个.net core 2.2 WebAPI项目。我有一个React Web应用程序和一个React本机应用程序。我一直在尝试允许Android emulator连接到本地调试版本,但得到的只是以下错误: [20:50:36 DBG]无法验证HTTPS连接。 System.Security.Authentication.AuthenticationException:身份验证失败,请参阅内部异常。-->Interop+Apple

我已经使用Visual Studio 2019 for Mac创建了一个.net core 2.2 WebAPI项目。我有一个React Web应用程序和一个React本机应用程序。我一直在尝试允许Android emulator连接到本地调试版本,但得到的只是以下错误: [20:50:36 DBG]无法验证HTTPS连接。 System.Security.Authentication.AuthenticationException:身份验证失败,请参阅内部异常。-->Interop+AppleCrypto+SslException:未知证书

我正在使用Android Studio emulator运行React本机应用程序。我有电话要去,它击中服务器没有问题。我已经运行了
dotnet dev certs--clean
dotnet dev certs-https--trust
,但它根本没有帮助

到目前为止,我看到的所有修复要么运行两个dotnet命令,要么添加C#代码来关闭ssl检查。由于这是一个react-native项目,没有地方放置c#代码,我不知道如何在react-native中实现这一点,并且无法在网上找到任何东西

任何帮助都将不胜感激。以前,我的解决方法是使用一个远程服务器,我只需要不断地推动更改,以测试移动端,但继续这样做会带来巨大的痛苦