OTA making failed

A

AC Question

When I make an OTA ota_update.zip,In this step:

% ./build/tools/releasetools/ota_from_target_files \
dist_output/tardis-target_files.zip ota_update.zip

I got an error:

File "./build/tools/releasetools/ota_from_target_files", line 1549, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 1506, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 590, in WriteFullOTAPackage
recovery_img, boot_img)
File "/home/bobo/android/build/tools/releasetools/common.py", line 1162, in MakeRecoveryPatch
_, _, patch = d.ComputePatch()
File "/home/bobo/android/build/tools/releasetools/common.py", line 928, in ComputePatch
ttemp = tf.WriteToTemp()
AttributeError: 'NoneType' object has no attribute 'WriteToTemp'

I don't know how to resolve this.
 

Trending Posts

Forum statistics

Threads
943,011
Messages
6,916,883
Members
3,158,773
Latest member
Chelsea rae