android - cannot find zip-align when publishing app

zipalign is an archive alignment tool that provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Pakete, die zipalign bereitstellen google-android-build-tools-installer Google build tools for Android (aapt, aidl, dexdump, dx) Andere Pakete mit Bezug zu $ ./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. zipalign is an archive alignment tool that provides important optimization to Android application (APK) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the APK, such as images or raw files, to be aligned on 4-byte boundaries. This allows all portions to be 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 zipalign is an archive alignment tool that provides important optimization to Android application (APK) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the APK, such as images or raw files, to be aligned on 4-byte boundaries. This allows all portions to be

[index] [12386] [6567] [443] [5495] [8267] [11837] [14042] [9732] [14437] [7222]

#

test2