Gradle ビルド時にやると良い 8つのこと

Gradle のプログレスバーをじっと見てるのは嫌いですよね?

8_things_to_do_while_Gradle_builds_—_Medium

なので, ビルドが完了するまでにできること一覧を作成してみました.

大体, それぞれがいつでもどこでもできる細切れ作業なので, ビルドの間にやるにはちょうどいいと思います.

1. ボキャブラリを増やす.

2. 新しい外国語を学ぶ.

3. Hacker news, Github, ProductHunt, CodePen, StackOverflow, Reddit を徘徊する.

4. 運動をする: 腕立て伏せ, 足首を曲げたり伸ばしたり, スクワットなどたくさんの手軽で器具不要なエクササイズがありますよね.

5. コードを Lint に通す. (3543個も Warning がでたのですぐに止めました)

6. バグを整理する.

7. Android Performance Patterns の動画を見る.

8. Play Store で競合のアプリを見てみる.

あなたはビルドの間, 何をしていますか?

Hacker News Radio (翻訳) - Google Play の Android アプリ
8 things to do while Gradle builds : androiddev
8 things to do while Gradle builds — Medium


gradle 2.2.0-alpha3 で 「APK is not zip aligned」

なぜか apk アップロードで怒られる.

screen1

com.android.tools.build:gradle のバージョンが関係しているようです.

this issue should be fixed in alpha4.

Issue 212591 - android - gradle:2.2.0-alpha3 not zipalign apks - Android Open Source Project - Issue Tracker - Google Project Hosting

alpha4

これでOKです.


Android Studio の セキュリティアラート が発令中!!

今, メール受信したけど.

alert

Dear Android Studio Developer,

As an app developer on Google Play, we wanted to make you aware of an important security update for Android Studio.

On May 11th, we released the Android Studio 2.1.1 update. This incremental update addresses a security vulnerability in the underlying IntelliJ platform that affects all previous versions of Android Studio. The vulnerability concerns the IDE itself and has no effect on individual apps.

Please update to Android Studio 2.1.1 as soon as possible. More information about the vulnerability can be found in this G+ posting. JetBrains has also released more details on the vulnerability.

To address this security vulnerability, simply go into Android Studio and check updates. For OS X users, navigate to the Android Studio Menu and click Check for Updates. For Windows or Linux users, navigate to the Help menu and click Check for Updates. You should be running at least Android Studio 2.1.1. The update message was sent as a in-product notification to all users of Android Studio. If you want a new install, you can download v2.1.1 from the Android Studio website.

If you’re still using v1.5.x and not able to switch to v2.x immediately, please download Android Studio v1.5.2 from the Android Studio tools website.

Regards,

The Android Studio Team

正直, このメールさえもなんだかクリックするのが怖い...

以下, HTMLメールに掲載されているリンク先一覧.

Download Android Studio and SDK Tools | Android Developers

Please update to Android Studio v2.1.1 We wanted to make you aware of an imp...

Security update for IntelliJ-based IDEs v2016.1 and older versions | Company Blog

Android Studio 1.5.2 - Android Studio Project Site

どのリンクもクリックするとまともなサイトが表示されるのですが, どのリンクもリダイレクトされているのが, なんとなくきもい.

curl

バージョン 2.1.1 にしておけばいいということですかね.

いまやメールもすぐには信じられなくなってるのは私だけでしょうか.

きもくないすか?