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
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
Symfony + NelmioApiDocBundle を使った スキーマ駆動開発 / Schema Driven Development with NelmioApiDocBundle
okashoi
0
220
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
130
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
150
CS教育のDX AIによる育成の効率化
niftycorp
PRO
0
160
Codex の「自走力」を高める
yorifuji
0
1.3k
Feature Toggle は捨てやすく使おう
gennei
0
320
20260315 AWSなんもわからん🥲
chiilog
2
170
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
3
1.9k
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
230
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
360
飯MCP
yusukebe
0
310
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
174
15k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
120
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Balancing Empowerment & Direction
lara
5
960
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
160
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Evolving SEO for Evolving Search Engines
ryanjones
0
170
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
120
Music & Morning Musume
bryan
47
7.1k
My Coaching Mixtape
mlcsv
0
85
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
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