无法手动zipalign android apk

时间:2016-08-12 14:21:13

标签: android cordova zipalign

我使用了如下命令:

D:\>C:\Users\SCS\AppData\Local\Android\sdk\build-tools\24.0.0\zipalign -v 4 D:\AppBuilds\ProAppPlayStore_11082016\appcodeByAbhijit\platforms\android\build\outputs\apk\original.apk D:\AppBuilds\ProAppPlayStore_11082016\appcodeByAbhijit\platforms\android\build\outputs\apk\result.apk

但结果是:

Usage: zipalign [-f] [-p] [-v] [-z] <align> infile.zip outfile.zip
       zipalign -c [-v] <align> infile.zip

<align>: alignment in bytes, e.g. '4' provides 32-bit alignment
-c: check alignment only (does not modify file)
-f: overwrite existing outfile.zip
-p: page align stored shared object files
-v: verbose output
-z: recompress using Zopfli

请有人建议我如何使用zipalign

0 个答案:

没有答案