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
62
2023 Flutter/Dart Summary
wasabeef
0
21
I/O Extended 2023 - Dart と Flutter の新機能
wasabeef
0
110
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.7k
Other Decks in Technology
See All in Technology
ハードウェアを動かすTypeScriptの世界
9wick
3
1.2k
拓展QA日常工作的邊界
line_developers_tw
PRO
0
550
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
38k
使われないものを作るな!出口から作るデータ分析基盤 / Data Platform Development Starting from the User Needs
amaotone
16
4.6k
[PyconUS 2024] Having fun with Pydantic and pattern matching
enforcerpl
0
170
NewSQL Landscape
oracle4engineer
PRO
5
3.2k
データ分析力を高めるSQL研修サービス『SQL Everyone』
hikarut
1
390
Blazor WASM × Code-first gRPC で始める C# ⼤統⼀理論
sansantech
PRO
1
620
kcp: Kubernetes APIs Are All You Need #techfeed_live / TechFeed Experts Night 28th
ytaka23
1
190
生成AI活用推進の為にやったこと/やらなかったこと
ktc_wada
0
180
QA経験のないエンジニアリング マネージャーがQAのカジュアル面談に出て 苦労していること・気づいたこと / scrum fest niigata 2024
yoshikiiida
2
660
シンプルなHITL機械学習と様々なタスクにおけるHITL機械学習
naohachi89
0
320
Featured
See All Featured
Six Lessons from altMBA
skipperchong
22
3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
21
1.6k
Visualization
eitanlees
137
14k
A Tale of Four Properties
chriscoyier
153
22k
Ruby is Unlike a Banana
tanoku
96
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.5k
Into the Great Unknown - MozCon
thekraken
15
1.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Typedesign – Prime Four
hannesfritz
36
2.1k
Robots, Beer and Maslow
schacon
PRO
155
8k
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