I'm not getting much from DDMS. Perhaps the information I need is in
dumpstate output? If there's some clue here I'm not seeing. What
should I be looking for?
The error on the screen is "Nomad could not be installed on this
phone." Here's the information about the package that is being
upgraded via OTA:
Package [com.rootwireless.nomad.UI.Android] (43104290):
userId=10027 gids=[3003, 1015]
sharedUser=null
pkg=Package{431ad4d8 com.rootwireless.nomad.UI.Android}
codePath=/data/app/com.rootwireless.nomad.UI.Android.apk
resourcePath=/data/app/com.rootwireless.nomad.UI.Android.apk
dataDir=/data/data/com.rootwireless.nomad.UI.Android
targetSdk=2
supportsScreens=[medium]
timeStamp=1254868883000
signatures=PackageSignatures{43104558 [4312f968]}
permissionsFixed=true pkgFlags=0x0 installStatus=1 enabled=0
grantedPermissions:
android.permission.INTERNET
android.permission.READ_PHONE_STATE
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.RECEIVE_BOOT_COMPLETED
android.permission.ACCESS_COARSE_LOCATION
android.permission.ACCESS_FINE_LOCATION
loadedPermissions:
android.permission.INTERNET
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.READ_PHONE_STATE
android.permission.ACCESS_COARSE_LOCATION
android.permission.RECEIVE_BOOT_COMPLETED
android.permission.ACCESS_FINE_LOCATION
Here's all I get from DDMS. The log starts when I start the OTA
download process:
10-22 10:12:41.195: DEBUG/dalvikvm(118): GC freed 172 objects / 7520
bytes in 124ms
10-22 10:12:42.855: INFO/ActivityManager(74): Starting activity:
Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.rootwireless.nomad.downloader/.NomadDownloader }
10-22 10:12:43.105: INFO/ActivityManager(74): Displayed activity
com.rootwireless.nomad.downloader/.NomadDownloader: 168 ms (total 168
ms)
10-22 10:12:45.015: INFO/NomadDownloader(301): Starting activity to
upgrade Nomad.
10-22 10:12:45.015: INFO/ActivityManager(74): Starting activity:
Intent { act=android.intent.action.VIEW dat=http://www.mywebsite.com/
path/hidden/to/protect/the/innocent/Nomad.apk flg=0x10000004
cmp=com.android.browser/.BrowserActivity }
10-22 10:12:45.045: INFO/NomadDownloader(301): Finished activity to
upgrade Nomad
10-22 10:12:45.385: INFO/ActivityManager(74): Displayed activity
com.android.browser/.BrowserActivity: 331 ms (total 331 ms)
10-22 10:12:49.375: INFO/ActivityManager(74): Starting activity:
Intent { dat=content://downloads/download/23
cmp=com.android.browser/.BrowserDownloadPage }
10-22 10:12:49.855: INFO/ActivityManager(74): Displayed activity
com.android.browser/.BrowserDownloadPage: 435 ms (total 435 ms)
10-22 10:12:51.335: DEBUG/dalvikvm(310): GC freed 6920 objects /
439184 bytes in 132ms
10-22 10:12:51.795: DEBUG/dalvikvm(197): threadid=23 wakeup:
interrupted
10-22 10:12:52.345: DEBUG/MediaScannerService(197):
IMediaScannerService.scanFile: /sdcard/download/Nomad-14.apk mimeType:
application/vnd.android.package-archive
10-22 10:12:52.725: INFO/ActivityManager(74): Stopping service:
com.android.providers.media/.MediaScannerService
10-22 10:12:55.165: DEBUG/dalvikvm(118): GC freed 122 objects / 5600
bytes in 283ms
10-22 10:12:55.295: INFO/ActivityManager(74): Starting activity:
Intent { act=android.intent.action.VIEW dat=file:///sdcard/download/
Nomad-14.apk typ=application/vnd.android.package-archive flg=0x4000000
cmp=com.android.packageinstaller/.PackageInstallerActivity }
10-22 10:12:55.435: INFO/ActivityManager(74): Start proc
com.android.packageinstaller for activity
com.android.packageinstaller/.PackageInstallerActivity: pid=370
uid=10016 gids={}
10-22 10:12:55.605: INFO/dalvikvm(370): Debugger thread not active,
ignoring DDM send (t=0x41504e4d l=38)
10-22 10:12:55.685: INFO/dalvikvm(370): Debugger thread not active,
ignoring DDM send (t=0x41504e4d l=60)
10-22 10:12:55.895: INFO/PackageParser(370): Impliciting adding
android.permission.WRITE_EXTERNAL_STORAGE to old pkg
com.rootwireless.nomad.UI.Android
10-22 10:12:55.895: INFO/PackageParser(370): Impliciting adding
android.permission.READ_PHONE_STATE to old pkg
com.rootwireless.nomad.UI.Android
10-22 10:12:56.105: INFO/installd(53): free_cache(170744) avail
70209536
10-22 10:12:56.145: INFO/ActivityManager(74): Displayed activity
com.android.packageinstaller/.PackageInstallerActivity: 740 ms (total
740 ms)
10-22 10:12:56.785: INFO/ActivityManager(74): Process
com.android.settings (pid 341) has died.
10-22 10:13:04.625: INFO/ActivityManager(74): Starting activity:
Intent { dat=file:///data/data/com.android.packageinstaller/files/
Nomad-14.apk cmp=com.android.packageinstaller/.InstallAppConfirmation
(has extras) }
10-22 10:13:04.825: INFO/PackageParser(370): Impliciting adding
android.permission.WRITE_EXTERNAL_STORAGE to old pkg
com.rootwireless.nomad.UI.Android
10-22 10:13:04.825: INFO/PackageParser(370): Impliciting adding
android.permission.READ_PHONE_STATE to old pkg
com.rootwireless.nomad.UI.Android
10-22 10:13:05.295: INFO/ActivityManager(74): Displayed activity
com.android.packageinstaller/.InstallAppConfirmation: 624 ms (total
624 ms)
10-22 10:13:06.245: INFO/InstallAppConfirmation(370): result ok
10-22 10:13:06.275: INFO/ActivityManager(74): Starting activity:
Intent { dat=file:///data/data/com.android.packageinstaller/files/
Nomad-14.apk cmp=com.android.packageinstaller/.InstallAppProgress (has
extras) }
10-22 10:13:06.335: WARN/InputManagerService(74): Starting input on
non-focused client com.android.internal.view.IInputMethodClient$Stub
$pr...@432d35f8 (uid=10016 pid=370)
10-22 10:13:06.385: WARN/InstallAppProgress(370): Replacing
package:com.rootwireless.nomad.UI.Android
10-22 10:13:06.515: INFO/ActivityManager(74): Displayed activity
com.android.packageinstaller/.InstallAppProgress: 195 ms (total 195
ms)
10-22 10:13:06.545: DEBUG/PackageParser(74): Scanning package: /data/
app/vmdl16812.tmp
10-22 10:13:06.595: INFO/PackageParser(74): Impliciting adding
android.permission.WRITE_EXTERNAL_STORAGE to old pkg
com.rootwireless.nomad.UI.Android
10-22 10:13:06.595: INFO/PackageParser(74): Impliciting adding
android.permission.READ_PHONE_STATE to old pkg
com.rootwireless.nomad.UI.Android
10-22 10:13:07.405: DEBUG/dalvikvm(74): GC freed 16771 objects /
824448 bytes in 250ms
10-22 10:13:12.875: DEBUG/dalvikvm(197): GC freed 7092 objects /
374712 bytes in 138ms
looking at
On Oct 14, 5:17 pm, Dianne Hackborn <[email protected]> wrote:
> On Mon, Oct 12, 2009 at 11:37 AM, Richard Schilling <
>
> [email protected]> wrote:
> > What I would like to do is submit a patch that provides more verbose
> > information about why an install fails (e.g. certificate is invalid).
>
> There is already a fair amount of stuff printed in the log when an install
> fails (and also when it succeeds).
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails. All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---