$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Android Developer Options
Search
Andrea Falcone
August 28, 2015
Programming
17
2.9k
Android Developer Options
A brief tour of some of the Android Developer Options to help you debug issues in your app
Andrea Falcone
August 28, 2015
Tweet
Share
Other Decks in Programming
See All in Programming
dotfiles 式年遷宮 令和最新版
masawada
1
760
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
400
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
830
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
240
UIデザインに役立つ 2025年の最新CSS / The Latest CSS for UI Design 2025
clockmaker
18
7.4k
認証・認可の基本を学ぼう前編
kouyuume
0
200
Socio-Technical Evolution: Growing an Architecture and Its Organization for Fast Flow
cer
PRO
0
330
ViewファーストなRailsアプリ開発のたのしさ
sugiwe
0
450
堅牢なフロントエンドテスト基盤を構築するために行った取り組み
shogo4131
8
2.3k
Cell-Based Architecture
larchanjo
0
110
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
380
Featured
See All Featured
Fireside Chat
paigeccino
41
3.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Practical Orchestrator
shlominoach
190
11k
Building Flexible Design Systems
yeseniaperezcruz
330
39k
Site-Speed That Sticks
csswizardry
13
1k
The Cult of Friendly URLs
andyhume
79
6.7k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
710
Into the Great Unknown - MozCon
thekraken
40
2.2k
Navigating Team Friction
lara
191
16k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Transcript
Android Developer Options What can those toggles do for me?
@asfalcone
Andrea Falcone Senior Software Engineer, Twitter / Fabric @asfalcone
None
None
None
None
None
None
None
None
None
None
None
None
$ adb bugreport
None
UPTIME (uptime) MMC PERF (/sys/block/mmcblk0/stat) MEMORY INFO (/proc/meminfo) CPU INFO
(top -n 1 -d 1 -m 30 -t) PROCESSES (ps -P) PROCESSES AND THREADS (ps -t -p -P) APP ACTIVITIES (dumpsys activity all) APP SERVICES (dumpsys activity service all) APP PROVIDERS (dumpsys activity provider all) SYSTEM LOG (logcat -v threadtime -d *:v) VM TRACES JUST NOW (/data/anr/traces.txt.bugreport)
None
telnet localhost 5554 geo fix -71.09 42.36 emulator only
LocationManager
None
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); android.os.Debug.waitForDebugger(); int breakpoint =
1; }
None
None
None
None
None
None
None
None
None
None
None
Margins Optical bounds Clip bounds
None
None
None
No overdraw 1x overdraw 2x overdraw 3x overdraw 4+x overdraw
lint --check Overdraw src/main
None
None
None
Original Monochrome Deuteranomaly Tritanomaly
None
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (savedInstanceState != null)
{ // TODO: Find Bugs Here! } else { ... } } public void onSaveInstanceState(Bundle savedInstanceState) { // TODO: Find Bugs Here! ... super.onSaveInstanceState(savedInstanceState); } public void onRestoreInstanceState(Bundle savedInstanceState) { super.onRestoreInstanceState(savedInstanceState); // TODO: Find Bugs Here! ... }
None
None
adb over wifi!
$ adb devices List of devices attached xxxxxxx device Connect
device via usb $ adb tcpip 5555 restarting in TCP mode port: 5555 Start adb in tcpip mode - while connected via usb Get device IP address Connect device via tcp $ adb connect 192.168.1.6 connected to 192.168.1.6:5555
$ adb shell More debugging tools: DDMS Hierarchy viewer Traceview
None
Thank you! @asfalcone