Bug 5575 - Beta MonoDroid 4.2.3 fails to install runtime
Summary: Beta MonoDroid 4.2.3 fails to install runtime
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 4.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-06-07 16:17 UTC by Ian
Modified: 2012-06-13 16:52 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Ian 2012-06-07 16:17:21 UTC
I installed the beta. hen I ran my app in debug the IDE tried to install the framework to my HTC Desire 2.2. it crashed the phone. After a reboot I removed the frameworks installed and tried again. I get this even after a reboot:



Detecting shared runtime location

Waiting for packaging processing to complete

Detecting package list location

Getting package list from device

Installing the platform framework
879 KB/s (15908463 bytes in 17.668s)
	pkg: /data/local/tmp/Mono.Android.Platform.apk

Failed to install the platform framework

=-==============

MonoDevelop 3.0.3
Installation UUID: 438ac2b5-07c9-45e7-a8ce-eac5ad86371d
Runtime:
	Mono 2.10.9 (tarball)
	GTK 2.24.10
	GTK# (2.12.0.0)
	Package version: 210090011
Apple Developer Tools:
	 Xcode 4.3.2 (1177)
	 Build 4E2002
Mono for Android: 4.2.3.68199851
Android SDK: /Users/vink/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
	Version: 1.6	ApiLevel: 4
	Version: 2.1	ApiLevel: 7
	Version: 2.2	ApiLevel: 8
	Version: 2.3	ApiLevel: 10
	Version: 3.1	ApiLevel: 12
	Version: 4.0	ApiLevel: 14
	Version: 4.0.3	ApiLevel: 15
Java SDK: /usr/bin

Monotouch: 5.2.12
Build information:
	Release ID: 30003000
	Git revision: 6e7256ceafd1626d8bcfb16ba06c48e5c7b502c8-dirty
	Build date: 2012-06-07 17:47:20+0000
	Xamarin addins: 6cf73102d3e2694dc9c50bb14dc0505a55ef4444
Operating System:
	Mac OS X 10.7.4
	Darwin mac.local 11.4.0 Darwin Kernel Version 11.4.0
	    Mon Apr  9 19:32:15 PDT 2012
	    root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
Comment 1 Ian 2012-06-07 16:17:41 UTC
This is on a Mac
Comment 2 Ian 2012-06-07 16:23:40 UTC
I have attached the log from Eclipse on this install attempt for the framework.

====================

06-07 13:21:00.107: E/ClockWidget(215): weatherClock onReceive~ mUseAnimation:false
06-07 13:21:00.197: E/ClockWidget(215): weatherClock onReceive~ mUseAnimation:false
06-07 13:21:03.377: D/AndroidRuntime(994): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
06-07 13:21:03.377: D/AndroidRuntime(994): CheckJNI is OFF
06-07 13:21:03.388: D/dalvikvm(994): creating instr width table
06-07 13:21:03.427: D/AndroidRuntime(994): --- registering native functions ---
06-07 13:21:03.707: D/dalvikvm(855): GC_EXPLICIT freed 124 objects / 6216 bytes in 30ms
06-07 13:21:03.717: D/VoldCmdListener(61): asec list
06-07 13:21:03.737: I/PackageHelper(855): Size of container 17 MB 15908463 bytes
06-07 13:21:03.737: D/VoldCmdListener(61): asec create smdl2tmp1 17 fat {} 10105
06-07 13:21:05.507: I/Vold(61): numSectors to Format 35406
06-07 13:21:05.507: I/Vold(61): Format Log: /system/bin/newfs_msdos -F 32 -O android -s 35406 /dev/block/dm-7
06-07 13:21:05.547: I//system/bin/newfs_msdos(61): /system/bin/newfs_msdos: warning, /dev/block/dm-7 is not a character device
06-07 13:21:05.547: I//system/bin/newfs_msdos(61): /system/bin/newfs_msdos: Skipping mount checks
06-07 13:21:05.547: I//system/bin/newfs_msdos(61): Bogus heads from kernel - setting sane value
06-07 13:21:05.547: I//system/bin/newfs_msdos(61): Bogus sectors from kernel - setting sane value
06-07 13:21:05.547: I//system/bin/newfs_msdos(61): /dev/block/dm-7: 35304 sectors in 4413 FAT32 clusters (4096 bytes/cluster)
06-07 13:21:05.547: I//system/bin/newfs_msdos(61): bps=512 spc=8 res=32 nft=2 sec=35406 mid=0xf0 spt=63 hds=64 hid=0 bspf=35 rdcl=2 infs=1 bkbs=2
06-07 13:21:05.567: I/logwrapper(61): /system/bin/newfs_msdos terminated by exit(0)
06-07 13:21:05.567: I/Vold(61): Filesystem formatted OK
06-07 13:21:05.567: D/VoldCmdListener(61): asec path smdl2tmp1
06-07 13:21:05.577: I/PackageHelper(855): Created secure container smdl2tmp1 at /mnt/asec/smdl2tmp1
06-07 13:21:05.577: I/DefContainer(855): Created container for smdl2tmp1 at path : /mnt/asec/smdl2tmp1
06-07 13:21:07.127: I/DefContainer(855): Copied /data/local/tmp/Mono.Android.Platform.apk to /mnt/asec/smdl2tmp1/pkg.apk
06-07 13:21:07.127: D/VoldCmdListener(61): asec finalize smdl2tmp1
06-07 13:21:07.418: I/DefContainer(855): Finalized container smdl2tmp1
06-07 13:21:07.418: I/DefContainer(855): Unmounting smdl2tmp1 at path /mnt/asec/smdl2tmp1
06-07 13:21:07.457: D/dalvikvm(855): GC_EXPLICIT freed 137 objects / 11168 bytes in 39ms
06-07 13:21:07.457: D/VoldCmdListener(61): asec unmount smdl2tmp1 force
06-07 13:21:07.527: D/VoldCmdListener(61): asec mount smdl2tmp1 {} 1000
06-07 13:21:07.597: D/VoldCmdListener(61): asec path smdl2tmp1
06-07 13:21:07.607: D/PackageParser(98): Scanning package: /mnt/asec/smdl2tmp1/pkg.apk
06-07 13:21:09.407: D/VoldCmdListener(61): asec unmount smdl2tmp1 force
06-07 13:21:09.437: D/VoldCmdListener(61): asec rename smdl2tmp1 Mono.Android.Platform.ApiLevel_8-2
06-07 13:21:09.477: W/PackageManager(98): Mounting container Mono.Android.Platform.ApiLevel_8-2
06-07 13:21:09.477: D/VoldCmdListener(61): asec mount Mono.Android.Platform.ApiLevel_8-2 {} 1000
06-07 13:21:09.547: I/PackageManager(98): Succesfully renamed smdl2tmp1 at path: /mnt/asec/smdl2tmp1 to Mono.Android.Platform.ApiLevel_8-2 at new path: /mnt/asec/Mono.Android.Platform.ApiLevel_8-2
06-07 13:21:09.547: I/PackageHelper(98): Forcibly destroying container Mono.Android.Platform.ApiLevel_8-2
06-07 13:21:09.547: D/VoldCmdListener(61): asec path Mono.Android.Platform.ApiLevel_8-2
06-07 13:21:09.547: D/VoldCmdListener(61): asec destroy Mono.Android.Platform.ApiLevel_8-2 force
06-07 13:21:09.727: D/dalvikvm(98): GC_EXPLICIT freed 8824 objects / 449256 bytes in 100ms
06-07 13:21:09.777: D/AndroidRuntime(994): Shutting down VM
06-07 13:21:09.777: D/dalvikvm(994): Debugger has detached; object registry had 1 entries
06-07 13:21:09.777: I/AndroidRuntime(994): NOTE: attach of thread 'Binder Thread #3' failed
06-07 13:21:16.467: I/Gmail(564): MainSyncRequestProto: lowestBkwdConvoId: 0, highestHandledServerOp: 3693661, normalSync: true
06-07 13:21:17.367: D/dalvikvm(564): GC_EXPLICIT freed 13044 objects / 453496 bytes in 76ms
06-07 13:21:17.377: I/Gmail(564): MainSyncRequestProto: lowestBkwdConvoId: 0, highestHandledServerOp: 3693700, normalSync: true
06-07 13:21:17.897: D/dalvikvm(564): GC_EXPLICIT freed 1488 objects / 75176 bytes in 74ms
06-07 13:21:17.907: I/Gmail(564): MainSyncRequestProto: lowestBkwdConvoId: 0, highestHandledServerOp: 3693719, normalSync: true
Comment 3 Ian 2012-06-07 16:28:02 UTC
The "Mono Android-8 Support" on my phone is now only 4KB in size, that sounds sus perhaps?

HTC Desire 2.2
Comment 4 Ian 2012-06-07 16:32:19 UTC
Success. I rebooted and retried 3 times (remove all mono from phone each time) and the 3rd time the runtime installed ok. Seems to work much like my '96 Honda :)

Keep up the good work guys.
Comment 5 Duncan Mak 2012-06-13 16:52:03 UTC
There has been an update to the build of MonoDevelop that you've been using. The latest version is 3.0.3.1. 

Please try update, the 3.0.3 release contained some packaging bugs. Upgrading could fix other problems for you. If you still encounter problems, please feel free to file another bug.

Thank you!