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.7k
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)
DevFest Tokyo 2025 - Flutter のアプリアーキテクチャ現在地点
wasabeef
5
1.9k
About Flutter Architecture
wasabeef
1
240
2023 Flutter/Dart Summary
wasabeef
0
73
I/O Extended 2023 - Dart と Flutter の新機能
wasabeef
0
180
I/O Extended 2023 - Flutter 活用事例
wasabeef
10
3k
What it Takes to be a Flutter Developer
wasabeef
0
200
FlutterKaigi 2022 Keynote
wasabeef
1
600
Flutter Hooks を使ったアプリ開発 / App Development with the Flutter Hooks
wasabeef
2
1.4k
Flutter 2021 の振り返りと今後のアプリ開発に向けて / Looking back on Flutter 2021 and for future app development.
wasabeef
4
2.2k
Other Decks in Technology
See All in Technology
低レイヤを知りたいPHPerのためのCコンパイラ作成入門 完全版 / Building a C Compiler for PHPers Who Want to Dive into Low-Level Programming - Expanded
tomzoh
4
3.2k
“社内”だけで完結していた私が、AWS Community Builder になるまで
nagisa53
1
370
Windows 11 で AWS Documentation MCP Server 接続実践/practical-aws-documentation-mcp-server-connection-on-windows-11
emiki
0
950
Welcome to the LLM Club
koic
0
170
プロダクトエンジニアリング組織への歩み、その現在地 / Our journey to becoming a product engineering organization
hiro_torii
0
130
MySQL5.6から8.4へ 戦いの記録
kyoshidaxx
1
200
PostgreSQL 18 cancel request key長の変更とRailsへの関連
yahonda
0
120
Github Copilot エージェントモードで試してみた
ochtum
0
100
M3 Expressiveの思想に迫る
chnotchy
0
100
5min GuardDuty Extended Threat Detection EKS
takakuni
0
130
Oracle Audit Vault and Database Firewall 20 概要
oracle4engineer
PRO
3
1.7k
より良いプロダクトの開発を目指して - 情報を中心としたプロダクト開発 #phpcon #phpcon2025
bengo4com
1
3.1k
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
5.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Rebuilding a faster, lazier Slack
samanthasiow
81
9.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Raft: Consensus for Rubyists
vanstee
140
7k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Unsuck your backbone
ammeep
671
58k
Writing Fast Ruby
sferik
628
61k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Music & Morning Musume
bryan
46
6.6k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
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