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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Andrea Falcone
August 28, 2015
Programming
2.9k
17
Share
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
Other Decks in Programming
See All in Programming
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
430
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
560
New "Type" system on PicoRuby
pocke
1
430
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
690
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.2k
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
5.2k
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
3.4k
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
3.4k
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
270
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
530
CSC307 Lecture 17
javiergs
PRO
0
310
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
6
1.3k
Featured
See All Featured
Mind Mapping
helmedeiros
PRO
1
230
Fireside Chat
paigeccino
42
3.9k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Building Applications with DynamoDB
mza
96
7.1k
Prompt Engineering for Job Search
mfonobong
0
330
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
190
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
170
From π to Pie charts
rasagy
0
200
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
550
Odyssey Design
rkendrick25
PRO
2
670
The Art of Programming - Codeland 2020
erikaheidi
57
14k
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