Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
What's new Android Studio 4.0 [ja]
Daichi Furiya (Wasabeef)
November 15, 2019
Technology
4
1.4k
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)
Flutter Hooks を使ったアプリ開発 / App Development with the Flutter Hooks
wasabeef
1
440
Flutter 2021 の振り返りと今後のアプリ開発に向けて / Looking back on Flutter 2021 and for future app development.
wasabeef
4
1.6k
Flutter Hooks, sometimes Jetpack Compose
wasabeef
2
1.3k
Skia and Skija, Skiko [ja]
wasabeef
1
1.1k
Flutter はプロダクション開発に耐えうるのか / Flutter ready for production?
wasabeef
34
10k
モバイル開発におけるクロスプラットフォームの期待と課題 / Cross-platform expectations and challenges in mobile development
wasabeef
0
250
Repository with Store4 [ja]
wasabeef
2
970
来年に備えるために Android の知識を網羅する / Looking back on this Android year in preparation for next year.
wasabeef
17
13k
What's new at Firebase Summit 2019 [ja]
wasabeef
1
440
Other Decks in Technology
See All in Technology
情報の世界 2022年度 第11回「都市のデータ」 #情報の世界 / Data of City 2022
yumulab
0
110
Camp Digital 2022: tailored advice
kyliehavelock
0
150
ZephyrRTOSのLongan Nanoへの移植
tokitahiroshi
0
100
The Fractal Geometry of Software Design
vladikk
1
1.3k
20220628event_ogura_part
caddi_eng
0
120
GeoLocationAnchor and MKTileOverlay
toyship
0
110
OCI Service Mesh 概要 / OCI Service Mesh ovewview
oracle4engineer
PRO
0
100
【Pythonデータ分析勉強会#33】「DearPyGuiに入門しました」の続き~Image-Processing-Node-Editor~
kazuhitotakahashi
0
180
アーキテクチャを明文化して開発に臨んだ話
akkie76
0
360
MRTK3 - DataBinding and Theming 入門
futo23
0
200
DeepL の用語集が(いつのまにか)日本語に対応してたので試してみた
irokawah0
0
180
スタートアップと技術選定と AWS
track3jyo
PRO
2
350
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
181
15k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
236
1M
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
7
1.1k
Producing Creativity
orderedlist
PRO
334
37k
Designing for Performance
lara
597
63k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
950
Documentation Writing (for coders)
carmenhchung
48
2.6k
Creatively Recalculating Your Daily Design Routine
revolveconf
207
10k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
349
27k
A Modern Web Designer's Workflow
chriscoyier
689
180k
BBQ
matthewcrist
74
7.9k
Embracing the Ebb and Flow
colly
73
3.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