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 I/O 2024 Android 開発ツールの新機能
Search
tonionagauzzi
June 14, 2024
Programming
0
200
Google I/O 2024 Android 開発ツールの新機能
tonionagauzzi
June 14, 2024
Tweet
Share
More Decks by tonionagauzzi
See All by tonionagauzzi
Androidアプリのテスト駆動開発入門
tonionagauzzi
0
150
Google I/O 2023 Passkeys Support
tonionagauzzi
0
670
CSS組版とVivliostyle
tonionagauzzi
0
200
Other Decks in Programming
See All in Programming
Event Exhibition with Hono
naporin0624
0
130
プログラミングスクールのつながりがキャリアにつながるのかもしれない話 / Connections at programming schools may lead to a career
aiandrox
0
290
Ruby Function Composition
bkuhlmann
1
390
2024年版 Kotlin サーバーサイドプログラミング実践開発
n_takehata
3
880
dockerの豆知識を沢山話す
mal0961
2
220
技術カンファレンスをより楽しむためにやるべき N 個のこと / N Things You Should Do to Enjoy Tech Conferences More
mackey0225
3
270
Automatisiere deine Prozesse mit GitHub Actions!
ahus1
0
270
データサイエンスやデータエンジニアリングの求人サイトの個人開発
billyio
0
560
JJUG CCC 2024 Spring自動アップグレードを夢見て、Amazon Q Developer使ってみた
toricky6
2
180
日付と闘う-和暦は難しい / vs Dates - Japanese Chronology is Difficult
wkwkhautbois
0
200
Kotlin Coroutinesで共有リソースに正しくアクセスする
moriatsushi
5
2.1k
IaCにおけるテスト考察 / Tests in IaC
linyows
2
190
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
353
28k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
128
32k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
How to name files
jennybc
66
95k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
20
1.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
356
18k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
The World Runs on Bad Software
bkeepers
PRO
62
10k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
22
1.8k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
5
290
Transcript
Google I/O 2024 Android 開発ツールの新機能 トニオ(@tonionagauzzi)
自己紹介 • トニオ(@tonionagauzzi) • Android Engineer @cybozu 2
Android Studio Koala 注目の機能 3
Sticky Lines • コードブロックの一番上が常に見えるようになった! • デモします 4
Inline Breakpoints • 行の途中にブレークポイントを貼れるようになった! • デモします 5
USB cable speed detection • 接続したケーブルがデバッグするには遅い場合、警告が出る • デバッグにはUSB2よりUSB3を使って欲しい o10倍高速 o20倍高速USB3.1もあるよ!
https://android-developers.googleblog.com/2024/05/google-io-2024-whats-new-in-android-development-tools.html 6
Device UI setting shortcut • Running Devices上でダークテーマ、言語、フォントサイズなどを切り 替え o もう「設定」を開かなくていい!
https://android-developers.googleblog.com/2024/05/google-io-2024-whats-new-in-android-development-tools.html 7
Resizable Emulator • Running Devices上でデバイスの形を切り替え oフォームファクターに応じたテストができる! https://developer.android.com/studio/run/resizable-emulator 8
Layout Inspector • オーバーレイ表示 • 押すとComposeのコードに移動できる! • スナップショットを撮ってあとで詳しく見れる! https://developer.android.com/studio/debug/layout-inspector 9
UI Check • Compose UIを様々なレイアウトでチェック • 警告を出してくれる! o タッチ範囲が狭いとか、アクセシビリティの問題があるとか •
デモします 10
Baseline Profile Generator • モジュール作成の選択肢にBeseline Profile Generatorが増えた • アプリと一緒にパッケージすると、起動時間が早くなる! •
デモします 11
Android Studio Profiler • アプリの CPU、メモリ、電力使用量のプロファイリングが簡単に! • たとえば、プロファイラーを開くと、GUIでアプリの起動時間をプロファイリングし て改善するためのシステム トレース
タスクが開始される https://android-developers.googleblog.com/2024/05/google-io-2024-whats-new-in-android-development-tools.html 12
Android Studio × Gemini https://www.isuzu.co.jp/newsroom/details/nenp_013.html 13
Gemini によるコード提案 Geminiがリファクタしてくれる! https://android-developers.googleblog.com/2024/05/google-io-2024-whats-new-in-android-development-tools.html 使い方 1. [View] > [Tool Windows]
> [Gemini] 2. Googleにログイン 3. コンテキストメニューから [Gemini] > [Transform selected code] でもプライバシーコントロールは気をつけて! AIにどんな情報を入れるかは企業の判断。 14
Geminiによるクラッシュ分析 • Geminiがクラッシュを分析してくれる https://android-developers.googleblog.com/2024/05/google-io-2024-whats-new-in-android-development-tools.html 15
スターターでGemini APIをアプリに搭載 https://android-developers.googleblog.com/2024/05/google-io-2024-whats-new-in-android-development-tools.html 16
Gemini 1.5 Pro • 現在はGemini 1.0 Pro https://www.softbank.jp/biz/solutions/generative-ai/ai-glossary/multimodal-ai/ • 2024年後半にはGemini
1.5 Proに更新 o Large Context Window o マルチモーダル入力など 17
コード補完 • 〜〜してくれと入力すると、Code Changesを作ってくれる • 今まで書いたコードを真似してくれる • .aiexcludeでチームポリシーを組み込むこともできる 18
詳しくは動画のGeminiパートを見て! https://www.youtube.com/watch?v=2wOfYgIMf-A 19
Thank you for watching! 20