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
Google IO 2022 社内LT会 / What's new in Android de...
Search
Shingo Kobayashi
July 08, 2022
Programming
1
1.2k
Google IO 2022 社内LT会 / What's new in Android development tools
Google I/O 2022のセッションである「What's new in Android development tools」から、気になった触ってみたところを紹介します。
Shingo Kobayashi
July 08, 2022
Tweet
Share
Other Decks in Programming
See All in Programming
Conform を推す - Advocating for Conform
mizoguchicoji
3
690
さいきょうのレイヤードアーキテクチャについて考えてみた
yahiru
3
750
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
DROBEの生成AI活用事例 with AWS
ippey
0
130
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1k
SwiftUI Viewの責務分離
elmetal
PRO
1
240
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
37
14k
AWS Organizations で実現する、 マルチ AWS アカウントのルートユーザー管理からの脱却
atpons
0
150
Honoとフロントエンドの 型安全性について
yodaka
7
1.2k
WebDriver BiDiとは何なのか
yotahada3
1
140
Lottieアニメーションをカスタマイズしてみた
tahia910
0
130
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
110
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
550
Automating Front-end Workflow
addyosmani
1368
200k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
It's Worth the Effort
3n
184
28k
Navigating Team Friction
lara
183
15k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.4k
Speed Design
sergeychernyshev
27
790
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.1k
Why Our Code Smells
bkeepers
PRO
336
57k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Transcript
What’s new in Android Development Tools Sansan株式会社 Mobile Application Group
⼩林慎梧 Google I/O 2022 社内LT会
新しい Android Studio Arctic Fox Bumblebee Chipmunk Dolphin Eelectric Eel
Dolphin / Electric Eel の新機能
Logcat V2
Logcat V2 – UIの刷新 新 旧
Logcat V2 – 複数ウィンドウ作成 独⽴したLogcatを分割表⽰ タブの+ボタン押下
Logcat V2 – 複数ウィンドウ作成 右クリックでタブ名を変更できる
Logcat V2 – 検索 検索欄でControl + Space 検索可能なkey⼀覧が表⽰される
Logcat V2 - 検索 - package:mine ローカルアプリプロジェクトのPID に絞って表⽰される
Logcat V2 - 検索 - tag 「package:mine tag:MixPanel」で検索
age:1m → 1分以内のログ age:5h → 5時間以内のログ Logcat V2 - 検索
– age 時間検索が可能
公式のWhatʻs new in Android development toolsでは紹介されていますが、 現在DLできるAndroidStudioでは使えない様⼦。 情報元:Android Tools &
Performance Logcat V2 - 検索 – is:stacktrace
- キーの前に - を付けて、特定の値を除外 - -tag:<exclude-tag> - キーの後に ~ を付けて、正規表現を使⽤
- tag~:<regular-expression-tag> - 除外タグと組み合わせる - -tag~:<exclude-regular-expression-tag> Logcat V2 - 検索 – ⾼度な検索
Logcat V2 – クラッシュ/再起動の追跡 ----- PROCESS ENDED ----- ---- PROCESS
STARTED --- が表⽰されるように
Logcat V2 – 表⽰項⽬のカスタマイズ
- プロジェクトごとにタブの分割等の設定は保持される - 以前のLogcatに設定から戻せる Logcat V2 – その他
Live Edit
- Jetpack Composeで変更を⾃動でプレビューしてくれる機能 - 従来の Live Edit of literals は値の変更のみ
- 今回の Live Edit は構造の変更に対応! > ⼀部制約あり:https://developer.android.com/studio/run?hl=ja - limitations Live Edit
Live Edit – 設定 Preference > Editor > Live Edit
Live Edit を選択して、 Device / Previewにチェック
Live Edit – 設定 Preference > Experimental Enable live Edit
for Preview にチェック
Device Mirroring
Device Mirroring Running Deviceタブを開くと 実機がミラーリングされる もちろん操作可能
Device Mirroring – 設定 Preference > Experimental Enable mirroring of
physical Android devices にチェック
App Quality Insight
App Quality Insight Firebase Crashlyticsの情報タブ追加
App Quality Insight – 表⽰項⽬ 選択したクラッシュイベントの 最新1件を表⽰できる
App Quality Insight – 表⽰項⽬ StackTrace:コードを即座に開ける
App Quality Insight – 表⽰項⽬ Summary
App Quality Insight – 表⽰項⽬ これより詳細はWebページで確認
App Quality Insight – 絞り込み - ⽇付 - バージョン -
Fatal/Non-Fatal
App Quality Insight – 接続先の切り替え - 本番環境・開発環境など、接続先の切り替えを⾏える - 公式情報ではないが、google-service.jsonを認識していると思われる >
Sansan Androidでは本番向けのgoogle-service.jsonを暗号化しているため認識さ れない問題がある
App Quality Insight – 設定 ② Webページに遷移して アクセス許可 ① Android
Studio 右上の ユーザーアイコンからSign In ③ 完了して、Android Studio に戻れば使⽤可能
ご静聴ありがとうございました