Howdy

On 2012.05.07 01:15, Jonathan Pobst wrote:
Hey,

I made a special version with additional logging for where I think you are hitting an issue. If you want to try it out, it's:

https://files.xamarin.com/~jpobst/startup-logging.msi
I did the installation, but like I said it suddenly it started working.
I'll keep an eye on the problem and keep You informed.

Oh, and actually I did some tests with turning off wireless adapter and my router.
Only suspicious part is:
[I:sdk]: Key HKCU\SOFTWARE\Xamarin\MonoAndroid\PrivateAndroidSdkPath not found. [I:sdk]: Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
[I:sdk]:                    Key HKLM\SOFTWARE\Android SDK Tools\Path found:


I hope Rodrigo has solved his problem too...

New log (last 2 tests with network off) is below.

regards
mel

monodroid.log


[I:sdk]:                  Looking for Android SDK..
[I:sdk]: Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found: Path contains adb.exe in \platform-tools (C:\Program Files\Android\android-sdk-windows). [I:sdk]: Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found: Path does not contain adb.exe in \platform-tools (C:\android-sdk-windows). [I:sdk]: Key HKCU\SOFTWARE\Xamarin\MonoAndroid\PrivateAndroidSdkPath not found. [I:sdk]: Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
[I:sdk]:                    Key HKLM\SOFTWARE\Android SDK Tools\Path found:
Path contains adb.exe in \platform-tools (C:\Program Files\Android\android-sdk-windows).
[I:sdk]:                  Looking for Java 6 SDK..
[I:sdk]: Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion found. [I:sdk]: Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.6\JavaHome found: Path contains jarsigner.exe in \bin (C:\Program Files\Java\jdk1.6.0_26).
[I:]:                     Starting Android device monitor
[I:]:                     Adb server launch operation completed
[I:]:                     Creating android device tracker
[I:]:                     Got new device list from adb
[I:sdk]:                  Looking for Android SDK..
[I:sdk]: Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found: Path contains adb.exe in \platform-tools (C:\Program Files\Android\android-sdk-windows). [I:sdk]: Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found: Path does not contain adb.exe in \platform-tools (C:\android-sdk-windows). [I:sdk]: Key HKCU\SOFTWARE\Xamarin\MonoAndroid\PrivateAndroidSdkPath not found. [I:sdk]: Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
[I:sdk]:                    Key HKLM\SOFTWARE\Android SDK Tools\Path found:
Path contains adb.exe in \platform-tools (C:\Program Files\Android\android-sdk-windows).
[I:sdk]:                  Looking for Java 6 SDK..
[I:sdk]: Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion found. [I:sdk]: Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.6\JavaHome found: Path contains jarsigner.exe in \bin (C:\Program Files\Java\jdk1.6.0_26).
[I:]:                     Starting Android device monitor
[I:]:                     Adb server launch operation completed
[I:]:                     Creating android device tracker
[I:]:                     Got new device list from adb
[I:sdk]:                  Looking for Android SDK..
[I:sdk]: Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found: Path contains adb.exe in \platform-tools (C:\Program Files\Android\android-sdk-windows). [I:sdk]: Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found: Path does not contain adb.exe in \platform-tools (C:\android-sdk-windows). [I:sdk]: Key HKCU\SOFTWARE\Xamarin\MonoAndroid\PrivateAndroidSdkPath not found. [I:sdk]: Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
[I:sdk]:                    Key HKLM\SOFTWARE\Android SDK Tools\Path found:
Path contains adb.exe in \platform-tools (C:\Program Files\Android\android-sdk-windows).
[I:sdk]:                  Looking for Java 6 SDK..
[I:sdk]: Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion found. [I:sdk]: Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.6\JavaHome found: Path contains jarsigner.exe in \bin (C:\Program Files\Java\jdk1.6.0_26).
[I:]:                     Starting Android device monitor
[I:]:                     Adb server launch operation completed
[I:]:                     Creating android device tracker
[I:]:                     Got new device list from adb





Try to run it as normal, and it should write a file called "monodroid.log" to your desktop that contains the exception you are hitting. With that, hopefully I can fix this bug.

Jonathan


On 5/6/2012 3:28 AM, Miljenko Cvjetko wrote:
Hi

On Friday I have had the same problem:

 1. worked all morning on crossplatform project mostly on M4A stuff with
    designer.
 2. switched between VS and MD several times
 3. shutdown before going home
 4. at home opened this solution with the same error... (below)
 5. done several times devenv <Name>.sln /log
 6. uninstalled/reinstalled M4A 4.1.1
 7. error appeared few more times
 8. suddenly everything was ok.
     1. "new" version 4.0.6 dialog appears - plugin loads OK


Could it be something with version checking?

regards

mel


<entry>
<record>367</record>
<time>2012/05/05 11:17:43.476</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load
[Mono.Android.VisualStudio.MonoAndroidPackage,
Mono.Android.VisualStudio, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=370d3ce848a5d21a]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
</entry>
<entry>
<record>368</record>
<time>2012/05/05 11:17:43.532</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package
[Mono.Android.VisualStudio.MonoAndroidPackage,
Mono.Android.VisualStudio, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=370d3ce848a5d21a]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
<hr>80131534</hr>
<errorinfo>The type initializer for 'Xamarin.AndroidTools.AndroidSdk'
threw an exception.</errorinfo>
</entry>
<entry>
<record>369</record>
<time>2012/05/05 11:17:43.536</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load
[Mono.Android.VisualStudio.MonoAndroidPackage,
Mono.Android.VisualStudio, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=370d3ce848a5d21a]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
<hr>80131534</hr>
<errorinfo>The type initializer for 'Xamarin.AndroidTools.AndroidSdk'
threw an exception.</errorinfo>
</entry>

On 2012.05.04 21:37, Rodrigo 'r2d2rigo' Diaz wrote:
Already did, tried removing everything related to MonoDroid and
reinstalling and the same error kept popping.

2012/5/4 Jonathan Pobst <[email protected] <mailto:[email protected]>>

    It sounds like maybe something didn't get installed correctly.

    Go to Add/Remove Programs and remove "Mono for Android", and then
    try running the msi again:

http://download.xamarin.com/priv/bc514b5531c4505157e19ca15f21080/MonoforAndroid/Windows/monoandroid-4.1.1-p7.msi

    Jonathan


    On 5/4/2012 6:29 AM, Rodrigo 'r2d2rigo' Diaz wrote:

        Hello, I have just installed 4.1.1 alpha to try the new
        library wrapper
tools. I'm running Visual Studio Ultimate x64 with Service Pack 1.
        Everything goes fine with stable and beta channels, but when I
        install
        the alpha and try to run VS, it fails while loading the Mono
        for Android
        plug-in with the following error: The
        'Mono.Android.VisualStudio.MonoAndroidPackage,
        Mono.Android.VisualStudio, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=370d3ce848a5d21a' package did not load correctly.

        Running devenv.exe /log outputs the following errors in
        ActivityLog.xml:

<entry>
<record>364</record>
<time>2012/05/04 11:14:14.881</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load
        [Mono.Android.VisualStudio.MonoAndroidPackage,
        Mono.Android.VisualStudio, Version=1.0.0.0, Culture=neutral,
        PublicKeyToken=370d3ce848a5d21a]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
</entry>
<entry>
<record>365</record>
<time>2012/05/04 11:14:14.995</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package
        [Mono.Android.VisualStudio.MonoAndroidPackage,
        Mono.Android.VisualStudio, Version=1.0.0.0, Culture=neutral,
        PublicKeyToken=370d3ce848a5d21a]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
<hr>80131537</hr>
<errorinfo>Input string was not in a correct format.</errorinfo>
</entry>
<entry>
<record>366</record>
<time>2012/05/04 11:14:14.997</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load
        [Mono.Android.VisualStudio.MonoAndroidPackage,
        Mono.Android.VisualStudio, Version=1.0.0.0, Culture=neutral,
        PublicKeyToken=370d3ce848a5d21a]</description>
<guid>{296E6A4E-2BD5-44B7-A96D-8EE3D9CDA2F6}</guid>
<hr>80131537</hr>
<errorinfo>Input string was not in a correct format.</errorinfo>
</entry>

        Is the plugin broken or is it a problem with my local
        installation?


        _______________________________________________
        Monodroid mailing list
        [email protected] <mailto:[email protected]>

        UNSUBSCRIBE INFORMATION:
        http://lists.ximian.com/mailman/listinfo/monodroid





_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


--
Miljenko Cvjetko dipl.ing. ET
    Direktor/CEO
    Projektant rješenja/Solution Architect
    Razvojni programer/Senior developer
    Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e:[email protected]
w:http://www.holisticware.net




--
Miljenko Cvjetko dipl.ing. ET
        Direktor/CEO
        Projektant rješenja/Solution Architect  
        Razvojni programer/Senior developer
        Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: [email protected]
w: http://www.holisticware.net

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to