Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
7
Help us understand the problem. What are the problem?

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だとなぜかダメ。。。

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

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
7
Help us understand the problem. What are the problem?