Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Reporting Android Issues
Yuki Fujisaki
June 22, 2017
Programming
2
450
Reporting Android Issues
Talked at Shibuya.apk #16 on Jun 22, 2017. First part is just joking :)
Yuki Fujisaki
June 22, 2017
Tweet
Share
More Decks by Yuki Fujisaki
See All by Yuki Fujisaki
tnj
2
420
tnj
12
7.8k
tnj
1
250
tnj
17
19k
tnj
0
3.8k
tnj
1
340
tnj
5
1.2k
tnj
0
130
tnj
0
65
Other Decks in Programming
See All in Programming
drumato
1
230
sgeengineer
1
180
ickx
3
610
kodetr
0
150
dunglas
5
4.8k
sisshiki1969
1
220
hr01
1
4.2k
n1215
1
450
deepu105
0
230
emberconf
0
140
joytomo
1
520
dnskimo
8
1.5k
Featured
See All Featured
tenderlove
53
3.5k
shpigford
165
19k
aarron
258
36k
lynnandtonic
272
16k
sugarenia
233
880k
zakiwarfel
88
3.4k
mthomps
38
2.3k
sferik
612
55k
jensimmons
208
10k
holman
462
280k
jeffersonlam
330
15k
reverentgeek
167
7.3k
Transcript
Reporting Android Issues @tnj shibuya.apk #16
None
None
None
None
None
Google's Newest (firmware) Device
BUY NOW
Reporting Android Issues @tnj shibuya.apk #16
None
1. Android
PackageInstaller
ACTION_INSTALL_PACKAGE
None
EXTRA_INSTALLER_PACKAGE_ NAME
Intent.ACTION_APP_ERROR
EXTRA_BUG_REPORT
None
Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE); intent.setDataAndType(uri, "application/vnd.android.package-archive"); intent.putExtra(Intent.EXTRA_INSTALLER_PACKAGE_NAME, getPackageName()); startActivityForResult(intent,
REQUEST_INSTALLER);
None
❓
Anybody?
Really???
None
Let's dive!
PackageInstallerActivity
-> InstallAppProgress
INSTALLER_PACKAGE_NAME in InstallAppProgress
!?
Surely not @deprecated
Deeper!
git log
INSTALLER_PACKAGE_NAME
None
Filed an issue
Nobody is watching?
None
Say hi
Let the author know
None
2. Android Studio
retrofit Instant Run
None
None
None
Can't reproduce for a month
I can help!
To report Instant Run issues
None
Hey, it's reproducible with AS3!
Need whole project?
None
Progress
Still going on Findings on the thread • Watch the
progress openly • Get better workarounds • Even Googlers get confused on Instant Run vs Instant App
issuetracker.google.com
Nothing to report? Star!
Have fun app development! Yuki Fujisaki @tnj DeployGate Inc.