Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
What's new Android Studio 4.0 [ja]
Search
Daichi Furiya (Wasabeef)
November 15, 2019
Technology
4
1.6k
What's new Android Studio 4.0 [ja]
[ja] What's new Android Studio 4.0
Daichi Furiya (Wasabeef)
November 15, 2019
Tweet
Share
More Decks by Daichi Furiya (Wasabeef)
See All by Daichi Furiya (Wasabeef)
About Flutter Architecture
wasabeef
0
36
2023 Flutter/Dart Summary
wasabeef
0
11
I/O Extended 2023 - Dart と Flutter の新機能
wasabeef
0
100
I/O Extended 2023 - Flutter 活用事例
wasabeef
10
2.3k
What it Takes to be a Flutter Developer
wasabeef
0
130
FlutterKaigi 2022 Keynote
wasabeef
1
490
Flutter Hooks を使ったアプリ開発 / App Development with the Flutter Hooks
wasabeef
2
1.2k
Flutter 2021 の振り返りと今後のアプリ開発に向けて / Looking back on Flutter 2021 and for future app development.
wasabeef
4
2k
Flutter Hooks, sometimes Jetpack Compose
wasabeef
3
1.6k
Other Decks in Technology
See All in Technology
Data and AI Governance: Existing Challenges and Emerging Trends
scotthsieh825
0
140
AWS パートナー企業でテクニカルサポートに従事して2年経ったので思うところをまとめてみた
kazzpapa3
3
1.3k
入社後初めてのタスクでk8sアップグレードした話.pdf
kkato1
0
370
長期運用プロジェクトでのMySQLからTiDB移行の検証
colopl
1
180
メールセキュリティの DMARC周りの設定を少しずつ設定してみたお話
miu_crescent
1
260
OpenTelemetry を使ったトレースエグザンプラーの活用 / otel-trace-exemplar
k6s4i53rx
2
620
株式会社EventHub・エンジニア採用資料
eventhub
0
1.9k
XSS using dirty Content Type in cloud era
flatt_security
2
1k
Next'24 事例セッションの紹介とクラウド資格を活用したキャリア形成について語りMuscle
yasumuusan
0
170
AWS を使う上で知っておきたいオンプレミス知識/aws-on-premise-essentials
emiki
1
4.1k
疲弊しない!AWSセキュリティ統制の考え方 #devio_osakaday1
masahirokawahara
6
5.8k
キャラクター制御のためのプロンプト術 for LINE Bot
uezo
0
510
Featured
See All Featured
Practical Orchestrator
shlominoach
180
9.7k
Adopting Sorbet at Scale
ufuk
67
8.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
319
23k
In The Pink: A Labor of Love
frogandcode
137
21k
Creatively Recalculating Your Daily Design Routine
revolveconf
209
11k
The Invisible Customer
myddelton
114
12k
The Illustrated Children's Guide to Kubernetes
chrisshort
28
46k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
Stop Working from a Prison Cell
hatefulcrawdad
265
19k
What’s in a name? Adding method to the madness
productmarketing
PRO
14
2.6k
Git: the NoSQL Database
bkeepers
PRO
421
63k
Raft: Consensus for Rubyists
vanstee
130
6.2k
Transcript
What's new at Android Studio 4.0 Wasabeef #AndroidDevSummit
About me Daichi Furiya (降矢 大地) Google Developers Expert CATS,
CyberAgent @wasabeef_jp wasabeef
What's new at Android Studio 4.0 参考:https://youtu.be/XPMrnR1_Biw
What's new at Android Studio
Support for Jetpack Compose
Support for Jetpack Compose
Motion Editor
Motion Editor
Desugaring in D8 & R8
Java 8 Library Desugaring in D8 & R8 Android 3.0
以降では Java 6 しか動かない Android のバージョンでも、Java 8 のラムダ式が使 えるようになりましたが、今回、これが拡張され、 java.util.time などもサードパーティライブラリを 使わずに、バックポートされるようになりました。
Java 8 Library Desugaring in D8 & R8 これまでは ThreeTenABP
などを使わない場合だと、上記のように警告が表示されていました
java.util.stream java.time java.util.function java.util.{Map, Collection, Comparator} java.util.Optional java.util.concurrent.atomic ConcurrentHashMap 新たにサポートされたパッケージ、クラス
Compile Options に一行設定を追加するだけです compileOptions { // Flag to enable support
for the new language APIs coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } Java 8 Library Desugaring in D8 & R8
Multi Preview
Multi Preview Multi Preview は、さまざまな解像度のデバイス や、各国の言語設定をプレビューすることができま す。これにより事前にレイアウト崩れなどをチェッ クできます。
Multi Preview IDEのウィンドウの右上隅にある [Multi Preview] タブをクリック
Multi Display
Multi Display マルチディスプレイ端末の検証が出来るようになった
Build Speed
Build Speed ビルドのクリティカルパス(連続して実行されるビ ルドタスクのコレクション)を確認することで、ど のタスクに時間がかかっているかを簡単に把握でき ます。
Build Speed ビルドウィンドウで [Build Speed] タブを開くと確認できる
Google Maps Emulator Integration
Google Maps Emulator Integration 目的地へのナビをシミュレートできる
Proguard Editing
Proguard Editing コード補完の精度が向上し、クラス名を変 更した時なども、Proguard の設定ファイ ル側にも適用されるようになりました
Proguard Editing
Live Layout Inspector
エミュレータなどでデバッグしているアプ リの View 構造を 3D に視覚化でき、設定 されているプロパティ値などの確認を迅速 に行えるようになります Live Layout
Inspector
Live Layout Inspector ON !!
Live Layout Inspector
Emulator embedded inside the IDE 未実装
Emulator embedded inside the IDE 各解像度での表示がすぐに確認できる 未実装
Conclusion..
References: - https://d.android.com - https://www.youtube.com/watch?v=XPMrnR1_Biw - https://androidstudio.googleblog.com/2019/10/android-studio-40-canary-1- available.html - https://androidstudio.googleblog.com/2019/11/android-studio-40-canary-2-
available.html Doc Resources
Image Resources Photos: - https://unsplash.com - https://www.pexels.com - https://www.reddit.com/r/dragonquest/comments/9dm013/ new_desktop_background/
Illustrations: - http://www.chojugiga.com - https://www.irasutoya.com
twitter.com/wasabeef_jp wasabeef.jp github.com/wasabeef