是否可以在一台设备上更新APK并在另一个设备中安装更新版本?
方案: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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论