如何在Android 10上生成ota_update.zip

如何在Android 10上生成ota_update.zip,android,ota,Android,Ota,我按照上的说明在Android 10上生成OTA_UPDATE.zip 我使用的命令是 ./build/make/tools/releasetools/ota_from_target_files out/dist/kona-target_files-eng.jiezhang.zip ota_update.zip 但它报告的错误如下 2020-06-08 13:16:35 - common.py - WARNING : Failed to read SYSTEM/build.prop 2020-

我按照上的说明在Android 10上生成OTA_UPDATE.zip

我使用的命令是

./build/make/tools/releasetools/ota_from_target_files out/dist/kona-target_files-eng.jiezhang.zip ota_update.zip
但它报告的错误如下

2020-06-08 13:16:35 - common.py - WARNING : Failed to read SYSTEM/build.prop
2020-06-08 13:16:35 - common.py - WARNING : Failed to read SYSTEM/etc/build.prop
2020-06-08 13:16:35 - common.py - WARNING : Failed to read PRODUCT/build.prop
2020-06-08 13:16:35 - common.py - WARNING : Failed to read PRODUCT/etc/build.prop
2020-06-08 13:16:35 - common.py - WARNING : Failed to read PRODUCT_SERVICES/build.prop
2020-06-08 13:16:35 - common.py - WARNING : Failed to read PRODUCT_SERVICES/etc/build.prop
2020-06-08 13:16:35 - common.py - WARNING : Failed to read ODM/build.prop
2020-06-08 13:16:36 - ota_from_target_files - ERROR   :
   ERROR:
Traceback (most recent call last):
  File "./build/make/tools/releasetools/ota_from_target_files", line 2414, in <module>
    main(sys.argv[1:])
  File "./build/make/tools/releasetools/ota_from_target_files", line 2341, in main
    source_file=OPTIONS.incremental_source)
  File "./build/make/tools/releasetools/ota_from_target_files", line 2080, in WriteABOTAPackageWithBrilloScript
    target_info = BuildInfo(OPTIONS.info_dict, OPTIONS.oem_dicts)
  File "./build/make/tools/releasetools/ota_from_target_files", line 311, in __init__
    self._fingerprint = self.CalculateFingerprint()
  File "./build/make/tools/releasetools/ota_from_target_files", line 424, in CalculateFingerprint
    self.GetBuildProp("ro.build.version.release"),
  File "./build/make/tools/releasetools/ota_from_target_files", line 371, in GetBuildProp
    raise common.ExternalError("couldn't find %s in build.prop" % (prop,))
ExternalError: couldn't find ro.build.version.release in build.prop
2020-06-08 13:16:35-common.py-警告:无法读取系统/build.prop
2020-06-08 13:16:35-common.py-警告:无法读取系统/etc/build.prop
2020-06-08 13:16:35-common.py-警告:无法读取PRODUCT/build.prop
2020-06-08 13:16:35-common.py-警告:无法读取PRODUCT/etc/build.prop
2020-06-08 13:16:35-common.py-警告:无法读取产品服务/build.prop
2020-06-08 13:16:35-common.py-警告:无法读取产品/服务/etc/build.prop
2020-06-08 13:16:35-common.py-警告:无法读取ODM/build.prop
2020-06-08 13:16:36-来自目标文件的ota\u-错误:
错误:
回溯(最近一次呼叫最后一次):
文件“/build/make/tools/releasetools/ota_from_target_files”,第2414行,在
main(sys.argv[1:])
文件“/build/make/tools/releasetools/ota_from_target_files”,主文件第2341行
源文件=选项。增量文件(源)
文件“/build/make/tools/releasetools/ota_from_target_files”,第2080行,采用BrilloScript的可写包形式
target\u info=BuildInfo(OPTIONS.info目录,OPTIONS.oem目录)
文件“/build/make/tools/releasetools/ota\u from\u target\u files”,第311行,在\u init中__
self.\u fingerprint=self.CalculateFingerprint()
文件“/build/make/tools/releasetools/ota_from_target_files”,第424行,CalculateFingerprint
self.GetBuildProp(“ro.build.version.release”),
文件“/build/make/tools/releasetools/ota_from_target_files”,第371行,在GetBuildProp中
引发common.ExternalError(“在build.prop”%(prop,)中找不到%s)
ExternalError:在build.prop中找不到ro.build.version.release
我检查了目标_文件中的内容-***.zip。看起来里面没有系统文件夹。因此python脚本找不到build.prop文件


Android 10是否改变了生成OTA更新的规则?如何创建它?谢谢。

这方面有更新吗?有更新吗?我也被困在这个问题上。