【问题标题】:Incremental OTA zip is not generating增量 OTA zip 未生成
【发布时间】:2018-03-21 12:15:13
【问题描述】:

我正在尝试生成 minor.zip(增量 OTA zip)文件。

首页$build/tools/releasetools/ota_from_target_files -i 出/目标/产品/xxx/OTA_20170916.zip out/target/product/xxx/OTA-20171010.zip out/target/product/xxx/minor.zip

unzipping target target-files...
Traceback (most recent call last):
File "build/tools/releasetools/ota_from_target_files", line 2028, in 
<module>
main(sys.argv[1:])
File "build/tools/releasetools/ota_from_target_files", line 1937, in 
main
OPTIONS.info_dict = common.LoadInfoDict(input_zip)
File "build/tools/releasetools/common.py", line 141, in LoadInfoDict
raise ValueError("can't find recovery API version in input target-files")
ValueError: can't find recovery API version in input target-files

这个错误来了...

我关注了这个网站http://solarex.github.io/wiki/Android/android_ota_update.html

请您帮忙解决这个错误

【问题讨论】:

    标签: android embedded android-source ota


    【解决方案1】:

    我得到了增量 OTA zip 创建的解决方案。

    第 1 步:从 out/target/product/xxx/obj/PACKAGING/target_files_intermediates/ 复制新的 OTA 和旧的 OTA zip 文件

    第二步:./build/tools/releasetools/ota_from_target_files -i old.zip new.zip update.zip

    将生成增量 OTA 文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-17
      • 1970-01-01
      • 1970-01-01
      • 2019-11-25
      • 2019-06-07
      相关资源
      最近更新 更多