是否可以在一台设备上更新APK并在另一个设备中安装更新版本?

发布于 2025-02-04 01:40:58 字数 804 浏览 0 评论 0原文

方案:APK X安装了多个设备,APK要求更新到新版本,

我在单个设备上对其进行更新,并将base.apk.apk导出到Windows ,然后在我所做的其他设备上:

hd-adb.exe -s 127.0.0.1:5805 install -r C:\Users\base.apk

现在,当我尝试启动它时,APK不再起作用,它粘在白屏幕上。

当我打电话adb shell ls时,在APK文件夹的内部,我可以看到这些apks:

000081a4 00b41380 62853bc0 split_config.x86.apk
000081a4 4ebff13a 62853bd7 split_asset_base.apk
000041ed 00001000 62853bde .
000041ed 00001000 62853bde lib
000081a4 00013199 62853bbd split_config.en.apk
000041f9 00001000 629a2b59 ..
000081a4 0002818f 62853bbc split_config.hdpi.apk
000081a4 016b481f 62853bbc base.apk
000041f9 00001000 62853bde oat

base.apk仅为22MB,而splite_asset_asset_base.apk 1.2GB是

无法以这种方式更新的吗?还是我缺少某些内容?

Scenario: there are multiple devices installed with apk x, the apk is asking to update to a new version

I update it on a single device and exported the base.apk to windows, then on the others devices I did:

hd-adb.exe -s 127.0.0.1:5805 install -r C:\Users\base.apk

Now when I try to launch it, the apk doesn't work anymore, it stuck in a white screen.

Inside of the apk folder when I call for adb shell ls, I can see these apks:

000081a4 00b41380 62853bc0 split_config.x86.apk
000081a4 4ebff13a 62853bd7 split_asset_base.apk
000041ed 00001000 62853bde .
000041ed 00001000 62853bde lib
000081a4 00013199 62853bbd split_config.en.apk
000041f9 00001000 629a2b59 ..
000081a4 0002818f 62853bbc split_config.hdpi.apk
000081a4 016b481f 62853bbc base.apk
000041f9 00001000 62853bde oat

base.apk is just 22mb while split_asset_base.apk is 1.2gb

Is not possible to update it this way or I'm missing something?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文