[英]Split APK missing when installing app from Play Store
Recently we released our application on Play Store using Android Application Bundle. 最近,我们使用Android应用程序捆绑包在Play商店上发布了我们的应用程序。 Our app has a native library and of course some resources. 我们的应用程序具有本地库,当然还有一些资源。 When installing Play Store will put language specific resources and platform specific library in a separate split APKs. 安装Play商店时,会将特定于语言的资源和特定于平台的库放在单独的拆分APK中。
There are some crashes reported with missing native library and/or missing resources. 报告了一些崩溃,其中缺少本机库和/或缺少了资源。 I don't see any common things among all these crashes and I can't reproduce it. 在所有这些崩溃中,我看不到任何共同之处,也无法重现。
Is it possible that the app will be only partially installed due to some network or space issues? 是否可能由于某些网络或空间问题而仅部分安装该应用程序? Why it's not detected by system installer and are there any ways to detect it? 为什么系统安装程序未检测到它,并且有什么方法可以检测到它?
There could be various reasons for Resources$NotFoundException: Resource ID, in case of app bundles : Resources $ NotFoundException可能有多种原因:如果是应用程序捆绑包,则为资源ID:
Drawable resource is not present in correct directory, adding resource in default drawable directory or in all respective drawable directories like ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi
may solve it: detailed answer 可绘制资源不在正确的目录中,可以在默认可绘制目录或所有相应的可绘制目录(例如ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi
添加资源ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi
可以解决此问题: 详细答案
Your app is side loaded ie instead of downloading the app from a legitimate app store, it is shared between users. 您的应用是侧面加载的,即,它不是在合法的应用商店中下载应用,而是在用户之间共享。 In such a case the apk shared would have resources only specific to that device: detailed answer 在这种情况下,共享的apk将仅具有特定于该设备的资源: 详细答案
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.