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
pylint custom ruleで始めるレビュー自動化
shogoujiie
0
140
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1.1k
GAEログのコスト削減
mot_techtalk
0
120
GoとPHPのインターフェイスの違い
shimabox
2
200
メンテが命: PHPフレームワークのコンテナ化とアップグレード戦略
shunta27
0
280
2025.2.14_Developers Summit 2025_登壇資料
0101unite
0
140
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
190
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
14
4.5k
ソフトウェアエンジニアの成長
masuda220
PRO
12
2k
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
260
CI改善もDatadogとともに
taumu
0
180
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
240
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
Navigating Team Friction
lara
183
15k
Producing Creativity
orderedlist
PRO
344
40k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
980
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
10
500
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
A better future with KSS
kneath
238
17k
Gamification - CAS2011
davidbonilla
80
5.1k
Building Your Own Lightsaber
phodgson
104
6.2k
Documentation Writing (for coders)
carmenintech
67
4.6k
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 に戻れば使⽤可能
ご静聴ありがとうございました