なぜか apk アップロードで怒られる.
com.android.tools.build:gradle のバージョンが関係しているようです.
this issue should be fixed in alpha4.
これでOKです.
なぜか apk アップロードで怒られる.
com.android.tools.build:gradle のバージョンが関係しているようです.
this issue should be fixed in alpha4.
これでOKです.
今, メール受信したけど.
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
どのリンクもクリックするとまともなサイトが表示されるのですが, どのリンクもリダイレクトされているのが, なんとなくきもい.
バージョン 2.1.1 にしておけばいいということですかね.
いまやメールもすぐには信じられなくなってるのは私だけでしょうか.
きもくないすか?
少し遅すぎないかと思い, ビルド時間を短縮しようとな.
~/Library/Preferences/AndroidStudio2.1/idea.vmoptions
デフォルトで以下でした.
-Xms128m
-Xmx750m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=96m
-XX:+UseCompressedOopseservedCodeCacheSize=96m
-XX:+UseCompressedOops
他人の設定を見てみる.
-Xms128m
-Xmx1024m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=64m
-XX:+UseCodeCacheFlushing
-XX:+UseCompressedOops
-Dfile.encoding=UTF-8
-Dgroovy.source.encoding=UTF-8
Tips: Android StudioのIDEのメモリ割り当てを増やす(Xmxはどこやねん) - sos の 作業メモ
-Xms512m
-Xmx1024m
-XX:MaxPermSize=512m
-XX:ReservedCodeCacheSize=128m
-XX:+UseCodeCacheFlushing
-XX:+UseCompressedOops
-Dgroovy.source.encoding=UTF-8
-Dfile.encoding=UTF-8
[Android Studio] 起動時のメモリ割り当てサイズを変更する / コンパイラのエンコーディングを変更する | Developers.IO
-Xms2048m
-Xmx8192m
-XX:MaxPermSize=2048m
-XX:ReservedCodeCacheSize=1024m
PSA: Apparently assigning a ton of memory to gradle makes it noticeably faster.. : androiddev
-server
-Xms2g
-Xmx2g
-XX:NewRatio=3
-Xss16m
-XX:+UseConcMarkSweepGC
-XX:+CMSParallelRemarkEnabled
-XX:ConcGCThreads=4
-XX:ReservedCodeCacheSize=240m
-XX:+AlwaysPreTouch
-XX:+TieredCompilation
-XX:+UseCompressedOops
-XX:SoftRefLRUPolicyMSPerMB=50
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djsse.enableSNIExtension=false
-ea
One and the only one reason to customize IntelliJ IDEA memory settings - Tomasz Dziurko
-server
-Xms2048m
-Xmx2048m
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:PermSize=512m
-XX:MaxPermSize=512m
-XX:+UseParNewGC
-XX:ParallelGCThreads=4
-XX:MaxTenuringThreshold=1
-XX:SurvivorRatio=8
-XX:+UseCodeCacheFlushing
-XX:+UseConcMarkSweepGC
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing
-XX:+CMSParallelRemarkEnabled
-XX:CMSInitiatingOccupancyFraction=65
-XX:+CMSScavengeBeforeRemark
-XX:+UseCMSInitiatingOccupancyOnly
-XX:ReservedCodeCacheSize=64m
-XX:-TraceClassUnloading
-ea
-Dsun.io.useCanonCaches=false
Prashanth's Blog: Performance Tuning of IntelliJ IDEA startup options
こんなグラフあったけども, そんなにデフォルトではとろいのか?
きっと多くの環境で稼働できるようにやわらかめの設定なのでしょうね, デフォルトって.
Configuring JVM options and platform properties – JetBrains Support