赞
踩
之前写过一篇文章“[Android]使用命令行打APK包 ”,里面没有涉及到aidl,现Sodino补充aidl的使用方法。 aidl的使用帮助如下:
C:/Documents and Settings/Administrator>aidl INPUT required usage: aidl OPTIONS INPUT [OUTPUT] aidl --preprocess OUTPUT INPUT... OPTIONS: -I<DIR> search path for import statements. -d<FILE> generate dependency file. -p<FILE> file created by --preprocess to import. -o<FOLDER> base output folder for generated files. -b fail when trying to compile a parcelable. INPUT: An aidl interface file. OUTPUT: The generated interface files. If omitted and the -o option is not used, the input filename is used, with th e .aidl extension changed to a .java extension. If the -o option is used, the generated files will be placed in the base outp ut folder, under their package folder
这些信息太少了,还不能让人明白如何使用。帮助信息首句就是“INPUT requir