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.5k
About Flutter Architecture
wasabeef
1
210
2023 Flutter/Dart Summary
wasabeef
0
59
I/O Extended 2023 - Dart と Flutter の新機能
wasabeef
0
160
I/O Extended 2023 - Flutter 活用事例
wasabeef
10
2.9k
What it Takes to be a Flutter Developer
wasabeef
0
180
FlutterKaigi 2022 Keynote
wasabeef
1
580
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.1k
Other Decks in Technology
See All in Technology
人生を左右する「即答」のススメ: 一瞬の判断を間違えないためにするべきこと
takasyou
10
1.4k
なぜ「Event Sourcing」を選択したのか〜事実に基づくことの重要性〜/Why did we choose "Event Sourcing"?
bitkey
1
230
Cloudflare Pages 4年使って分かった良さと注意点
kyosuke
0
180
コンテナ上シェル悪用の話とPure Bashでcurlが作れた話
ryotosaito
2
270
Oracle Cloud Infrastructure IaaS 新機能アップデート 2024/12 - 2025/02
oracle4engineer
PRO
0
160
Roomの監視可能なクエリのカスタマイズとレガシーコードへの適用
shiita0903
2
160
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
8.1k
Agent Mode とは?GitHub Copilot の新機能を探る
lescoggi
1
110
エンジニアリング 💰Moneyジャー / Engineering Money-ger
kenchan
2
350
Amazon Bedrock Knowledge basesにLangfuse導入してみた
sonoda_mj
2
420
neoAI_千葉講演資料_250311_配布用.pdf
iotcomjpadmin
0
190
LangGraph × Bedrock による複数の Agentic Workflow を利用した Supervisor 型のマルチエージェントの実現/langgraph-bedrock-supervisor-agent
ren8k
4
540
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Code Review Best Practice
trishagee
67
18k
Docker and Python
trallard
44
3.3k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
280
How to train your dragon (web standard)
notwaldorf
91
5.9k
Navigating Team Friction
lara
183
15k
Statistics for Hackers
jakevdp
797
220k
We Have a Design System, Now What?
morganepeng
51
7.5k
BBQ
matthewcrist
87
9.5k
Building an army of robots
kneath
303
45k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
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