arli28 发表于 2016-10-25 11:44:07

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

请教版主 可能是什么原因啊?非常感谢

arli28 发表于 2016-10-25 14:46:23

补充一下 我用的是ubuntu12.04

chengkni 发表于 2016-10-25 15:47:03

在源码的下./build/tools/drmsigntool目录中mm编译一下就行了。
原因是drmsigntool没有编译进去。

arli28 发表于 2016-10-25 16:31:09

谢谢楼上 确实如此

proboy_li 发表于 2016-11-29 09:22:06

路过,看看

dong_yoyo 发表于 2017-4-13 14:56:08

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]
查看完整版本: android5.1无法生成otapackage