xamarin.android - Android:无法与 Azure 服务总线主题建立连接
问题描述
在 Android 上,我无法与 Azure 服务总线主题建立连接。
笔记:
1. I have observed this issue only on Android.
2. The same code works using a test project.
3. I have verified that the same connectionstring is being used in both scenarios.
4. I can execute web service calls from the Android client.
这是代码:
let client = ManagementClient(connectionstring)
let! found = client.TopicExistsAsync(topicName) |> Async.AwaitTask // ERROR OCCURS HERE...
错误描述:
无法解析主机“XXX.servicebus.windows.net”:没有与主机名关联的地址
解决方案
我通过执行以下操作解决了这个问题:
- 推出 Android SDK Manager 并安装 Google Play Services
- 删除了我的 Android 模拟器并创建了新的
推荐阅读
- python - 在 Django python 表单中,我如何给表单字段一个“第二个名字”?
- node.js - 获取 node.js 中特定密码的 IV 大小
- python - 如何在不使用 gmpy 的情况下获得 64 位整数?
- powerbi - 如何使用快速测量 MoM% 并在视觉上应用过滤器以排除当前月份
- python - pyopengl 中圆形物体的速度问题
- amazon-web-services - 如何监控 EC2 EMR 集群状态
- google-cloud-nl - 使用 Google AutoML 对印度尼西亚语文章进行分类
- python - 将多维张量中的一个值映射到另一个值
- java - flink 在检查点上给了我“也可以打开文件”
- symfony - 我们可以使用来自另一个 Symfony 项目的存储库吗?