ValueError: can't find recovery API version in input target-files
来源:互联网 发布:软件类型分类 编辑:程序博客网 时间:2024/05/17 00:17
ValueError: can't find recovery API version in input target-files
之前是遇到过,然后查了当时的修改记录,没有任何的记录,幸好还记录的错误内容。现在仔细看了一下,回忆出来了我当时的错误,并重新记录到这里了,你可以看下你有没有犯这样的错误。我犯的是0号错误,也知道当时不记录的原因了,犯错太低级了。:)以后无论多低级的错误都要好好的记录,因为脑子是有周期性的,过一段时间就会忘记了。
0.找错误地方了注意包的路径(这个叫目标包/中间包但绝对不是完整升级包)
out/target/product/rk30sdk/obj/PACKAGING/target_files_intermediates/rk30sdk-target_files-eng-old.$USER.zip
1.内存设置过大
http://micode.net/thread-371-1-1.html
试试更改 toos/releasetools/common.py文件找到
cmd = ["java", "-Xmx4096m", "-jar",
os.path.join(OPTIONS.search_path, "signapk.jar")]
把4096改为比你内存小的数值和升级SDK
2.源码版本太老
https://github.com/MiCode/patchrom/issues/33
Thank you, really is a problem with my environment, or a year ago, my android sdk version updated yesterday sdk problem solving
3.Apk名字中有空格
http://blog.csdn.net/npjocj/article/details/9465213
总之,我是用这个命令编过的:./build/tools/releasetools/ota_from_target_files -a -i out/target/product/g18ref/obj/PACKAGING/target_files_intermediates/g18ref-target_files-20140717.zip out/target/product/g18ref/obj/PACKAGING/target_files_intermediates/g18ref-target_files-20140718.zip out/target/product/g18ref/
- ValueError: can't find recovery API version in input target-files
- ValueError: can't find recovery API version in input target-files
- ValueError: can't find recovery API version in input target-files
- can't find recovery API version in input target-files
- Python can't find '__main__' module in ''
- Python can't find '__main__' module in ''
- mkmf.rb can't find header files for ruby
- Can't find API database; API check not performed
- Can't find API database; API check was not performed
- Can't find API database; API check was not performed
- 159 Which three types of files can be automatically placed in the flash recovery area (fast recovery
- Can't find dll entry point GetModuleHandleA in kernel32
- can't find /mnt/cdrom in /etc/fstable……”
- Can't find asoundlib.h in Ubuntu 10.04
- go test can't find function in a same package
- 【cocos2d-x 报错异常集】运行安卓虚拟机的时候出现了emulator: ERROR: Can't find 'Linux version ' string in kernel image fi
- can‘t find lmysqlclient
- "can't load apple.laf.AquaLookAndFeel" (Ant in Eclipse can't find it)
- 【python】第六章——抽象
- 导航菜单(移动出现子菜单)
- TestLink环境搭建
- 动态规划第4讲——计数问题中的DP算法
- 并查集
- ValueError: can't find recovery API version in input target-files
- 联想昭阳E4430G触摸板无法禁用
- uva 1508 - Equipment(暴力+枚举子集)
- java 多线程
- Mysql从客户端连接服务器连不上的问题
- 101 - The Blocks Problem
- Android 应用程序退出后不在运行列表中显示的方法
- MySQL 清空所有的bin-log日志
- IOS之同步请求、异步请求、GET请求、POST请求