android - 拆分安装错误(-5):使用导航组件导航时拆分安装 API 不可用
问题描述
所以我无法在任何地方找到有关此错误的信息,并且我已经用完了谷歌搜索(因为它有 3 个匹配项)。这是我的项目https://github.com/Nikola-Milovic/Dynamicgram-AndroidApp 我通常会发布我的步骤和我尝试过的内容,但是有很多方法可以输入。我尝试了很多解决方案,遵循官方指南,但没有任何对我有用。
我正在findNavController
通过底部导航图和通过底部导航图导航(均无效),我使用此运行配置
从菜单栏中选择运行 > 编辑配置。在 Run/Debug Configurations 对话框的左窗格中,在 Android App 节点下选择所需的配置。
在 Deploy 旁边的下拉菜单中,从 app bundle 中选择 APK。
在要部署的动态功能下,选中要在部署应用程序时包含的每个动态功能模块(如果有)旁边的框。单击确定。
如果有人可以克隆并检查该应用程序,或提供有关我收到的错误发生的情况的一些详细信息
I/PlayCore: UID: [10087] PID: [29410] SplitInstallService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.splitinstallservice.SplitInstallService})
I/PlayCore: UID: [10087] PID: [29410] SplitInstallService : linkToDeath
I/PlayCore: UID: [10087] PID: [29410] SplitInstallService : Unbind from service.
I/PlayCore: UID: [10087] PID: [29410] SplitInstallService : onError(-5)
I/DynamicInstallManager: Error requesting install of feature_explore: Split Install Error(-5): Split Install API is not available. (https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#API_NOT_AVAILABLE)
W/DefaultProgressFragment: Installation failed with error -5
解决方案
用于bundletool
构建您的应用程序并创建拆分 apk。
推荐阅读
- python - 在python中将唯一的字符串ID转换为唯一的整数ID
- c# - 如何使用 MatroxImagingLibrary 修复“BadImageFormatException”?
- php - 如何从数据库中检索当前的产品 ID?
- javascript - 为什么我的 vue.js 按钮没有创建新的文本区域?
- java - 错误 yarn.ApplicationMaster:用户类抛出异常:java.lang.NoClassDefFoundError:scala/Function0$class
- javascript - 多层应用程序中的 Javascript 守卫
- r - 无法使用 R 中的 dbplyr 将 Oracle 字符串转换为日期
- html - 如何通过 VBA 从网站的 dd 标签中获取数据
- javascript - 为什么补充 mapbox 地理编码器只允许一次搜索?
- ios - 我们可以将搜索应用于从 json 解析中获取的数组的 tablview