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
AIコーディングの理想と現実
tomohisa
37
40k
個人開発の学生アプリが企業譲渡されるまで
akidon0000
2
1.2k
カウシェで Four Keys の改善を試みた理由
ike002jp
1
140
eBPF超入門「o11yに使える」とは (20250424_eBPF_o11y)
thousanda
1
120
AIコーディングの本質は“コード“ではなく“構造“だった / The essence of AI coding is not “code” but "structure
seike460
PRO
2
410
Bedrock × Confluenceで簡単(?)社内RAG
iharuoru
1
130
状態と共に暮らす:ステートフルへの挑戦
ypresto
3
1.2k
note の Elasticsearch 更新系を支える技術
tchov
9
3.6k
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
870
UMAPをざっくりと理解 / Overview of UMAP
kaityo256
PRO
3
1.5k
Cloudflare Workersで進めるリモートMCP活用
syumai
5
520
iOSアプリで測る!名古屋駅までの 方向と距離
ryunakayama
0
160
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Done Done
chrislema
184
16k
Being A Developer After 40
akosma
91
590k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
19
1.2k
The Cult of Friendly URLs
andyhume
78
6.3k
Building Adaptive Systems
keathley
41
2.5k
The Pragmatic Product Professional
lauravandoore
33
6.6k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
105
19k
A better future with KSS
kneath
239
17k
Bash Introduction
62gerente
613
210k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
790
Making Projects Easy
brettharned
116
6.2k
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