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
昭和の職場からアジャイルの世界へ
kumagoro95
1
380
Immutable ActiveRecord
megane42
0
140
GAEログのコスト削減
mot_techtalk
0
120
GitHub Actions × RAGでコードレビューの検証の結果
sho_000
0
260
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
900
GoとPHPのインターフェイスの違い
shimabox
2
190
仕様変更に耐えるための"今の"DRY原則を考える / Rethinking the "Don't repeat yourself" for resilience to specification changes
mkmk884
0
170
Writing documentation can be fun with plugin system
okuramasafumi
0
120
Spring gRPC について / About Spring gRPC
mackey0225
0
220
CDK開発におけるコーディング規約の運用
yamanashi_ren01
2
120
第3回 Snowflake 中部ユーザ会- dbt × Snowflake ハンズオン
hoto17296
4
370
2024年のWebフロントエンドのふりかえりと2025年
sakito
2
250
Featured
See All Featured
The Invisible Side of Design
smashingmag
299
50k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
A Tale of Four Properties
chriscoyier
158
23k
Raft: Consensus for Rubyists
vanstee
137
6.8k
Embracing the Ebb and Flow
colly
84
4.6k
Six Lessons from altMBA
skipperchong
27
3.6k
Code Review Best Practice
trishagee
67
18k
Designing for humans not robots
tammielis
250
25k
Building Adaptive Systems
keathley
40
2.4k
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 に戻れば使⽤可能
ご静聴ありがとうございました