The problem was discovered by chance when this compilation was published in the previous period:
Zip error:invalid Command Arguments (cannot repeat names in zip file) Make: * * * [out/target/product/k200_hdmiin/system/etc /recovery-resource.dat] Error 16make: * * * waiting for unfinished jobs ....
Background Introduction
Bo Master is currently engaged in Androidtvbox development, based on Android source code. So often need all-in-one Android source code, the above mentioned is the full compilation of the source process encountered a problem because there is no solution on the Internet, so share out.
answers on the web The k200_hdmiin above is the name that is determined by your board. There is no suitable solution on the internet, it is said that: when compiling recovery, the. SVN directory is copied to the Out directory
./recovery/root/res/images/.svn
./recovery/root/res/.svn
Workaround:
1, installation subversion1.7;
PS: Server is VISUALSVN, a colleague installed subversion1.7 found a problem, so did not try.
2. Remove the. svn file from all directories.
PS: This has been removed, how to update the code.
Here's a simple solution:
Modify Build/core/main.mk
(Shell build/tools/findleaves.py--prune=$ (out_dir)--prune=.repo--prune=.git--prune=.svn $ (subdirs) Android.mk)
add--PRUNE=.SVN.
Note: To delete the. svn folder from the Out directory.
my way. It turns out that I don't have a. SVN directory with a hint:
Make: * * * [Out/target/product/k200_hdmiin/system/etc/recovery-resource.dat] Error 16
so it is recovery out a problem, because a colleague accidentally changed the recovery, so found an old version of the bootable/recovery/replaced the existing bootable/recovery/, the whole series through, I hope to help you!
Reprint Please indicate the source link: http://blog.csdn.net/xiong_it/article/details/45060167, thank you!
Android source code compilation: A zip error:invalid command arguments solution appears