android - How to zipalign the apk file in Windows - Stack

zipalign [-f] [-v] <alignment> infile.apk outfile.apk. 要确认 existing.apk 的对齐方式,请运行以下命令: zipalign -c -v <alignment> existing.apk <alignment> 是一个整数,用于定义字节对齐边界。此值必须始终为 4(可提供 32 位对齐),否则实际将不会执行任何操作。 标记:-f:覆盖现有的 outfile.zip-v:详细输出-p:outfile.zip Die Hirschgrund Zipline Area ist in die grandiose Naturlandschaft des Kinzigtals eingebettet. Der Parcours mit sieben Bahnen führt Dich auf einem Rundweg über Steilhänge und Täler, Hügel und Bäche. zipalign [-f] [-v] <alignment> infile.apk outfile.apk. where infile.apk is the source file, and outfile.apk is the output file. Furthermore, you can also verify the alignment of an APK file using the following command: zipalign -c -v <alignment> existing.apk. where existing.apk can be any application package that you need to get verified. Also, the <alignment> tag in both the commands needs to $ ./zipalign -v 4 android-release-unaligned.apk HelloWorld.apk instead of the proposed one: $ zipalign -v 4 HelloWorld-release-unsigned.apk HelloWorld.apk And it worked! If you only need zipalign to get your Android app ready for being published you may try to just use the enclosed zipalign tool instead of downloading the entire Android Studio. If zipalign command is not found from Command-Line add file path of zipalign to environmental variables. As mentioned above, it's never good to change exe file location. For Windows users: Add to User->PATH->"path to zipalign folder" In my case it path was C:\adt-bundle-windows-x86_64-20140702\sdk\build-tools\android-4.4W. In that folder is

[index] [9598] [7686] [13212] [13984] [10711] [14016] [3434] [2262] [6390] [2360]

#

test2