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
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
Oracle Database Technology Night 92 Database Connection control FAN-AC
oracle4engineer
PRO
1
400
サーバーサイドのビルド時間87倍高速化
plaidtech
PRO
0
700
testingを眺める
matumoto
1
130
レガシープロジェクトで最大限AIの恩恵を受けられるようClaude Codeを利用する
tk1351
4
1.6k
詳解!defer panic recover のしくみ / Understanding defer, panic, and recover
convto
0
220
MLH State of the League: 2026 Season
theycallmeswift
0
220
CJK and Unicode From a PHP Committer
youkidearitai
PRO
0
110
Laravel Boost 超入門
fire_arlo
2
200
複雑なドメインに挑む.pdf
yukisakai1225
5
980
AIエージェント開発、DevOps and LLMOps
ymd65536
1
380
AIコーディングAgentとの向き合い方
eycjur
0
250
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
17
8.8k
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
40
2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
Visualization
eitanlees
148
16k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Code Reviewing Like a Champion
maltzj
525
40k
Side Projects
sachag
455
43k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
GraphQLとの向き合い方2022年版
quramy
49
14k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
How STYLIGHT went responsive
nonsquared
100
5.8k
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