LoginSignup
7

More than 5 years have passed since last update.

posted at

「cannot.find.zip.align=The zipalign tool was not found in the SDK.」って出る

cannot.find.zip.align=The zipalign tool was not found in the SDK.

Please update to the latest SDK and re-export your application
or run zipalign manually.

Aligning applications allows Android to use application resources
more efficiently.

最新のADT Tools(v.23)を使用して署名付きビルド(Google Play用ビルド)しようとしたら、上記エラーが出ました。

zipalignコマンドが見つからないようなので、toolsディレクトリに無理やり置きます。

$ cd $ANDROID_HOME

$ cp build-tools/19.1.0/zipalign tools/
# lnだとなぜかダメ。。。

これで再度署名付きビルドすると成功します。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
7