android - 无法发布免安装应用:您应该至少有一个通过网络“intent-filter”映射到站点“example.com”的活动 APK
问题描述
我收到此错误:
您应该至少有一个通过网络“intent-filter”映射到站点“www.example.org”的活动 APK
我刚刚意识到我的免安装应用清单中有这个:
<intent-filter android:autoVerify="true" android:order="2" >
<action android:name="android.intent.action.VIEW" />
<data android:host="www.example.org" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:pathPrefix="/welcome" />
</intent-filter>
<meta-data
android:name="default-url"
android:value="https://www.example.org/welcome" />
但在我的 APK 清单中:
<activity>
<intent-filter android:autoVerify="true">
<!-- ... -->
<data android:scheme="https" android:host="app.example.org" />
</intent-filter>
</activity>
清单中的前缀差异可能www/app
是导致此错误的原因吗?我想在发布另一个版本的应用程序之前确定这一点。
谢谢你的帮助。
解决方案
推荐阅读
- azure-devops - 在 azure 管道中访问 GitVersion 变量以进行 JavaScript 构建
- python - 将数组 List 转换为简单列表
- java - 如何修复“JMSCMQ0001:WebSphere MQ 调用失败,compcode '2' ('MQCC_FAILED') 原因 '2035' ('MQRC_NOT_AUTHORIZED')'
- angular - 为什么 RouterModule 使用 forRoot() AND forChild()?
- javascript - 是否有纯 JavaScript 方法来检索任何站点的所有断点或媒体查询?
- android - 切换选项卡时选项卡指示器加载缓慢
- mysql - 如何执行包含“from”和“to”作为表列名的 SQL 查询?
- javascript - 如何在 node.js 中需要一个 csv 文件?
- c# - 为 C# API 库创建回归测试
- matlab - 用于 tdoa 3D 定位的扩展卡尔曼滤波器