我在这个命令的帮助下创建了签名的目标文件:
./build/tools/releasetools/sign_target_files_apks -d ./device/bl/common/security -e app.apk=device/bl/common/security/releasekey -o target.zip signed_target.zip此指令已成功完成。现在,我尝试使用以下命令创建带签名的ota包:
./build/tools/releasetools/ota_from_target_files -k ./device/bl/common/security/releasekey signed_target.zip ota_signed.zip但我有个错误:
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 925, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 893, in main
WriteFullOTAPackage(input_zip, output_zip, OPTIONS.fota)
File "./build/tools/releasetools/ota_from_target_files", line 464, in WriteFullOTAPackage
MakeRecoveryPatch(OPTIONS.input_tmp, output_zip, recovery_img, boot_img)
File "./build/tools/releasetools/ota_from_target_files", line 386, in MakeRecoveryPatch
boot_type, boot_device = common.GetTypeAndDevice("/boot", OPTIONS.info_dict)
TypeError: 'NoneType' object is not iterable我怎么才能修复它?
发布于 2015-09-07 19:07:30
./build/tools/releasetools/ota_from_target_files -d MMC -k ./device/bl/common/security/releasekey signed_target.zip ota_signed.ziphttps://stackoverflow.com/questions/30669374
复制相似问题