android5.1无法生成otapackage
android5.1编译ota升级包
./file:///C:\Users\ADMINI~1\AppData\Local\Temp\%W@GJ$ACOF(TYDYECOKVDYB.pngmkimage.sh ota
make otapackage
快结束时出错
File "./build/tools/releasetools/make_recovery_patch", line 68, in <module>
main(sys.argv)
File "./build/tools/releasetools/make_recovery_patch", line 39, in main
input_dir, "RECOVERY")
File "/home/lxl/rk3288a51/build/tools/releasetools/common.py", line 419, in GetBootableImage
info_dict)
File "/home/lxl/rk3288a51/build/tools/releasetools/common.py", line 376, in BuildBootableImage
p4 = Run(sign_cmd)
File "/home/lxl/rk3288a51/build/tools/releasetools/common.py", line 86, in Run
return subprocess.Popen(args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: No such file or directory
make: *** 错误 1
请教版主 可能是什么原因啊?非常感谢
补充一下 我用的是ubuntu12.04 在源码的下./build/tools/drmsigntool目录中mm编译一下就行了。
原因是drmsigntool没有编译进去。
谢谢楼上 确实如此 路过,看看 Package target files: out/target/product/rk312x/obj/PACKAGING/target_files_intermediates/rk312x-target_files-eng.dongsh.zip
Traceback (most recent call last):
File "./build/tools/releasetools/make_recovery_patch", line 43, in <module>
if not recovery_img or not boot_img:
NameError: name 'recovery_img' is not defined
make: *** Error 1
我这边编译ota报这个错
页:
[1]