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 development tools
Search
Shingo Kobayashi
July 08, 2022
Programming
1
960
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
Try creating your own orderedmap
kazamori
1
250
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1.1k
Polars入門
daikikatsuragawa
1
190
Documentation for users with AsciiDoc and Antora
ahus1
0
370
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
440
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
100
AmperとFleetを使ったAndroidアプリ
yoppie
0
270
From Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
ivargrimstad
0
710
WebGLで始める コンピュータグラフィックス入門
heller77
0
330
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
180
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
690
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
280
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
15
1.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
21
1.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
Documentation Writing (for coders)
carmenintech
60
4k
Making the Leap to Tech Lead
cromwellryan
125
8.5k
A Tale of Four Properties
chriscoyier
153
22k
YesSQL, Process and Tooling at Scale
rocio
165
13k
Building a Scalable Design System with Sketch
lauravandoore
457
32k
The Invisible Side of Design
smashingmag
294
49k
Unsuck your backbone
ammeep
664
57k
A Philosophy of Restraint
colly
197
16k
Thoughts on Productivity
jonyablonski
60
3.9k
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 に戻れば使⽤可能
ご静聴ありがとうございました