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
機能が複雑化しても 頼りになる FactoryBotの話
tamikof
0
130
Jasprが凄い話
hyshu
0
160
Honoとフロントエンドの 型安全性について
yodaka
7
1.4k
自力でTTSモデルを作った話
zgock999
0
100
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
260
ファインディLT_ポケモン対戦の定量的分析
fufufukakaka
0
920
生成AIで加速するテスト実装 - ロリポップ for Gamersの事例と 生成AIエディタの活用
kinosuke01
0
110
Domain-Driven Transformation
hschwentner
2
1.9k
Jakarta EE meets AI
ivargrimstad
0
330
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
300
Go 1.24でジェネリックになった型エイリアスの紹介
syumai
2
280
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
8
2.4k
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Building Adaptive Systems
keathley
40
2.4k
KATA
mclloyd
29
14k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
Designing for humans not robots
tammielis
250
25k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Gamification - CAS2011
davidbonilla
80
5.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
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 に戻れば使⽤可能
ご静聴ありがとうございました