[RK3588][Android12] Android->OTA包超过4个G导致打包失败

测试平台

Platform: RK3588
OS: Android12


问题说明:

有的客户需要往系统中内置大量apk,这样就导致最终打包的OTA包超过4个G,从而导致打包OTA的时候报错:Zipfile size would require ZIP64 extensions


解决方法:

可能是python版本限制导致,比如:3588-12中默认python版本是2.7.12
需要切换到python3.xx
使用命令:
update-alternatives --list python
可以查看当前SDK都有哪些版本的 python
使用命令:
update-alternatives --config python
输入对应版本的指令值(0、1 、2)来切换对应版本
然后切换至更高版本的python,再测试打包ota包是否正常

python --version 可以查看当前SDK使用的 python 版本

使用命令:
apt install python2.7
apt install python3.10
apt install python3.8.9
安装指定版本 python


安装更新python版本并将默认版本切换到3.xx以后,再打包就不会报错了。

相关推荐
南宫码农1 小时前
我的电视 - Android原生电视直播软件 完整使用教程
android·开发语言·windows·电视盒子
道亦无名1 小时前
音频数据特征值提取 方法和步骤
android·音视频
Lancker1 小时前
定制侠 一个国产纯血鸿蒙APP的诞生过程
android·华为·智能手机·鸿蒙·国产操作系统·纯血鸿蒙·华为鸿蒙
2601_949809593 小时前
flutter_for_openharmony家庭相册app实战+通知设置实现
android·javascript·flutter
液态不合群4 小时前
【面试题】MySQL 中 count(*)、count(1) 和 count(字段名) 有什么区别?
android·数据库·mysql
雪球Snowball5 小时前
【Android关键流程】资源加载
android
2501_915918415 小时前
常见 iOS 抓包工具的使用,从代理抓包、设备抓包到数据流抓包
android·ios·小程序·https·uni-app·iphone·webview
墨月白7 小时前
[QT]QProcess的相关使用
android·开发语言·qt
enbug7 小时前
编译安卓内核:以坚果R1、魔趣MK100(Android 10)系统为例
android·linux
、BeYourself7 小时前
应用专属文件与应用偏好设置(SharedPreferences)
android